Re: [PATCH 1/6] Input: tsc2004/5 - fix handling of VIO power supply

From: Dmitry Torokhov
Date: Sun Aug 04 2024 - 21:12:09 EST


On Thu, Jul 11, 2024 at 10:27:12AM -0700, Dmitry Torokhov wrote:
> The chip needs to be powered up before calling tsc200x_stop_scan() which
> communicates with it; move the call to enable the regulator earlier in
> tsc200x_probe().
>
> At the same time switch to using devm_regulator_get_enable() to simplify
> error handling. This also makes sure that regulator is not shut off too
> early when unbinding the driver.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

OK, since there were no objections I applied the series.

Thanks.

--
Dmitry