i2c: imx: disable clock when it's possible to save power.
authorRichard Zhao <linuxzsc@gmail.com>
Sat, 17 Oct 2009 09:46:24 +0000 (17:46 +0800)
committerBen Dooks <ben-linux@fluff.org>
Mon, 2 Nov 2009 23:28:47 +0000 (23:28 +0000)
commitdb3a3d4ef7f676501325ae9c7ce0c193c2c1b28f
tree811858ab7f415c9e584d0704d0e8c234cd67d9c7
parenta4094a76e6a45691b8f9108060b750a48b4c4563
i2c: imx: disable clock when it's possible to save power.

Enable clock before START, disable it after STOP.

Signed-off-by: Richard Zhao <linuxzsc@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-imx.c