gpio: Fix stmpe error path
Free allocated memory. Call stmpe_disable() if it was enabled. Signed-off-by: NVasiliy Kulikov <segooon@gmail.com> Acked-by: NWolfram Sang <w.sang@pengutronix.de> Acked-by: NRabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Showing
想要评论请 注册 或 登录