Input: lpc32xx_ts - check for clk_prepare_enable() error
authorFabio Estevam <fabio.estevam@nxp.com>
Wed, 12 Apr 2017 15:34:03 +0000 (08:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Apr 2017 15:47:18 +0000 (08:47 -0700)
commit71f9f08103cb02f3d5bfad91cb570dcd2d8ed0cb
tree015f77015c39f92b91eaa6898c5018b40babf40a
parentc286841720b2e33795bea6cc4c71d50cd6cd8123
Input: lpc32xx_ts - check for clk_prepare_enable() error

clk_prepare_enable() may fail, so we better check its return value and
propagate it in the case of error.

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