]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9b590f226b3f115332706c243219477ca738f75
tree811858ab7f415c9e584d0704d0e8c234cd67d9c7
parenta08219e5efe733fe4bf9780fbc96bd0d0b57bf7f
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