Thread (8 messages) 8 messages, 3 authors, 2012-10-25
STALE4975d

[PATCH] i2c: omap: re-factor omap_i2c_init function

From: Shubhrajyoti <hidden>
Date: 2012-10-25 05:32:38
Also in: linux-i2c, linux-omap

On 10/24/2012 12:41 AM, Felipe Balbi wrote:
quoted
quoted
   	return 0;
   }
another thing, the few places in omap_i2c_xfer_msg() which are currently
calling omap_i2c_init() should also be converted to call the newly added
__omap_i2c_init(). We don't need to recalculate any of those clock
dividers and whatnot.
Yes in fact omap_i2c_init() can be reset - calculate - and __omap_i2c_init.
Then in those places the recalculate can be optimised.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help