Skip to content

Commit

Permalink
i2c-sibyte: Correct a comment about frequency
Browse files Browse the repository at this point in the history
The frequency may have been once hardcoded to 100 kHz, but currently it is
passed as an argument to i2c_sibyte_add_bus(), so update the comment to
match code.  While at it, reformat a nearby comment for consistency.  No
functional changes.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Maciej W. Rozycki authored and Jean Delvare committed May 11, 2008
1 parent 88b2832 commit b3eb5a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/i2c/busses/i2c-sibyte.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ int __init i2c_sibyte_add_bus(struct i2c_adapter *i2c_adap, int speed)
{
struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data;

/* register new adapter to i2c module... */
/* Register new adapter to i2c module... */
i2c_adap->algo = &i2c_sibyte_algo;

/* Set the frequency to 100 kHz */
/* Set the requested frequency. */
csr_out32(speed, SMB_CSR(adap,R_SMB_FREQ));
csr_out32(0, SMB_CSR(adap,R_SMB_CONTROL));

Expand Down

0 comments on commit b3eb5a0

Please sign in to comment.