]> git.kernelconcepts.de Git - karo-tx-linux.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)
commita4ce47f108a6df129c9f4345c6dda0473cb68da5
tree9f8bd23aae388b9a3f0b78014690a9448909a466
parenta445900c906092f3b49ee40a7365d0d54acc568e
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