diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2010-11-18 11:04:20 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-01-04 02:16:53 +0100 |
commit | 6a91b558648cffa94227b4ff9c6c996930bbdfd2 (patch) | |
tree | 87cafe789da2d072a68ca03db65da31ac13422f2 /drivers/net/ixgbe/ixgbe_82598.c | |
parent | Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-6a91b558648cffa94227b4ff9c6c996930bbdfd2.tar.xz linux-6a91b558648cffa94227b4ff9c6c996930bbdfd2.zip |
i2c-omap: Set latency requirements only once for several messages
Ordinary I2C read consist of two messages. First a write operation
to tell register address and then read operation to get data.
CPU wake up latency is set and removed twice in read case.
Set latency requirement before the message processing loop
and remove the requirement after the loop to remove latency
adjustment operations between the messages.
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82598.c')
0 files changed, 0 insertions, 0 deletions