]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-imx: Disable the clock on probe failure
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 4 Oct 2014 12:17:27 +0000 (09:17 -0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 6 Oct 2014 17:59:55 +0000 (19:59 +0200)
commit0b64bd370c6a6ef1db463f89be04e9d2ce538e08
tree9f8bd23aae388b9a3f0b78014690a9448909a466
parent12781c07f72f8eeb299d7f2b60d98b7d9ba19642
i2c-imx: Disable the clock on probe failure

In the case of errors during probe, we should disable i2c_imx->clk.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c