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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux