lkml.org 
[lkml]   [2012]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/8 v3] i2c: i801: refactor use of LAST_BYTE i801_block_transaction_byte_by_byte
    On Wed, 27 Jun 2012 21:54:08 +0800, Daniel Kurtz wrote:
    > 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>
    > ---
    > drivers/i2c/busses/i2c-i801.c | 28 ++++++++++++++--------------
    > 1 files changed, 14 insertions(+), 14 deletions(-)
    > (...)

    Applied, thanks.

    --
    Jean Delvare


    \
     
     \ /
      Last update: 2012-06-27 17:22    [W:0.021 / U:0.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site