commit | 30df23c5ecdfb8da5b0bc17ceef67eff9e1b0957 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 14 10:17:01 2020 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Sep 16 10:38:56 2020 -0700 |
tree | c6c88799984e818861c142b8c0879983e43acca0 | |
parent | 93f634069707cfe562c38739f5062feccbe9a834 [diff] |
Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume() If imx6ul_tsc_init() fails then we need to clean up the clocks. I reversed the "if (input_dev->users) {" condition to make the code a bit simpler. Fixes: 6cc527b05847 ("Input: imx6ul_tsc - propagate the errors") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20200905124942.GC183976@mwanda Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>