commit | 95dd3032663fab5a56331b066baf1757cb941b1a | [log] [tgz] |
---|---|---|
author | Shubhrajyoti D <shubhrajyoti@ti.com> | Mon Nov 05 17:53:40 2012 +0530 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Wed Nov 14 17:44:41 2012 +0100 |
tree | d18fd97776d26ba07dde48759e7c41c2f9ab1000 | |
parent | 2c88ab8c5af7d637d2a9d14b607fa6100fa64236 [diff] |
i2c: omap: re-factor omap_i2c_init function re-factor omap_i2c_init() so that we can re-use it for resume. While at it also remove the bufstate variable as we write it in omap_i2c_resize_fifo for every transfer. Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>