]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: omap: make reset a seperate function
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 5 Nov 2012 12:23:41 +0000 (17:53 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 14 Nov 2012 16:44:42 +0000 (17:44 +0100)
commitd6c842ad564c336d62d3d5777c520454f1473b8c
treee3f5feb14108038832d26076f0e503528a395b11
parent95dd3032663fab5a56331b066baf1757cb941b1a
i2c: omap: make reset a seperate function

Implement reset as a separate function.
This will enable us to make sure that we don't do the
calculation again on every transfer.
Also at probe the reset is not added as the hwmod is doing that
for us.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c