From: Samu Onkalo Date: Thu, 18 Nov 2010 10:04:20 +0000 (+0200) Subject: i2c-omap: Set latency requirements only once for several messages X-Git-Tag: v2.6.38-rc1~232^2~5^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a91b558648cffa94227b4ff9c6c996930bbdfd2;p=pandora-kernel.git 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 Acked-by: Kevin Hilman Acked-by: Paul Walmsley Signed-off-by: Ben Dooks --- Reading git-diff-tree failed