Input: imx6ul_tsc - fix error handling
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 12 Apr 2017 15:33:50 +0000 (08:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Apr 2017 15:47:17 +0000 (08:47 -0700)
commitc286841720b2e33795bea6cc4c71d50cd6cd8123
tree4d53cfce50a2b1fefe7c2b7e8c2f34c3f3b2c1af
parent9bb9dc1359ef40a10153cd8c7106dd9d9e8aa1a3
Input: imx6ul_tsc - fix error handling

If imx6ul_tsc_init() fails we should not return directly.

We should disable the previously acquired clocks in this case.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/imx6ul_tsc.c