commit | e296fb7f301f3c3398adc6d991b097cfa73e1c0c | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Jul 12 14:12:31 2007 +0200 |
committer | Jean Delvare <khali@hyperion.delvare> | Thu Jul 12 14:12:31 2007 +0200 |
tree | 8eb4fe324010c0bcd11e590334c69c224ad034ad | |
parent | b9cdad74883a797952de52464d118d685cafc05a [diff] |
i2c/tsl2550: Speed up initialization There's some redundancy in the tsl2550 initialization sequence. It is powering up the device twice, and setting the operating mode twice too. Setting things just once saves SMBus transactions, which aren't always cheap, speeding up the device initialization. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Rodolfo Giometti <giometti@linux.it>