diff options
author | 2012-07-24 14:13:57 +0200 | |
---|---|---|
committer | 2012-07-24 14:13:57 +0200 | |
commit | efa3cb15ad8ba40bd08b05df87ef0ca6680ef762 (patch) | |
tree | affbc114b7f751f8308a834b39b8d34972191ac1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c-smbus: Use module_i2c_driver() (diff) | |
download | linux-dev-efa3cb15ad8ba40bd08b05df87ef0ca6680ef762.tar.xz linux-dev-efa3cb15ad8ba40bd08b05df87ef0ca6680ef762.zip |
i2c-i801: Refactor use of LAST_BYTE in i801_block_transaction_byte_by_byte
As a slight optimization, pull some logic out of the polling loop during
byte-by-byte transactions by just setting the I801_LAST_BYTE bit, as
defined in the i801 (PCH) datasheet, when reading the last byte of a
byte-by-byte I2C_SMBUS_READ.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions