On Wed, 21 Apr 2010, Kevin Hilman wrote: > From: Kalle Jokiniemi <kalle.jokiniemi@xxxxxxxxx> > > While waiting for completion of the i2c transfer, the > MPU could hit OFF mode and cause several msecs of > delay that made i2c transfers fail more often. The > extra delays and subsequent re-trys cause i2c clocks > to be active more often. This has also an negative > effect on power consumption. > > Created a mechanism for passing and using the > constraint setting function in driver code. The used > mpu wake up latency constraints are now set individually > per bus, and they are calculated based on clock rate > and fifo size. > > Thanks to Jarkko Nikula, Moiz Sonasath, Paul Walmsley, > and Nishanth Menon for tuning out the details of > this patch. > > Cc: Moiz Sonasath <m-sonasath@xxxxxx> > Cc: Jarkko Nikula <jhnikula@xxxxxxxxx> > Cc: Paul Walmsley <paul@xxxxxxxxx> > Cc: Nishanth Menon <nm@xxxxxx> > Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@xxxxxxxxx> > Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> Acked-by: Paul Walmsley <paul@xxxxxxxxx> - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html