Thread (2 messages) 2 messages, 2 authors, 2020-09-14

Re: [PATCH] Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2020-09-14 17:50:23
Also in: kernel-janitors

On Sat, Sep 05, 2020 at 03:49:42PM +0300, Dan Carpenter wrote:
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 <redacted>
Applied, thank you.

There is also an opportunity to factor out some common code from
open/close and suspend/resume, I'll send out a patch in a moment.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help