Re: [PATCH v2 19/19] iio: adc: at91-sama5d2_adc: add runtime pm support

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

 



On 31.07.2022 23:11, Jonathan Cameron wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Tue, 28 Jun 2022 18:16:31 +0300
> Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx> wrote:
> 
>> Add runtime PM support by disabling/enabling ADC's peripheral clock.
>> On simple conversion the ADC's clock is kept enabled just while the
>> conversion is in progress. This includes also temperature conversion.
>> For triggered buffers and touch conversions the ADC clock is kept enabled
>> while the triggered buffers or touch are enabled. Along with it removed
>> the __maybe_unused on suspend() and resume() ops as the dev_pm_ops
>> object members are now filled with SYSTEM_SLEEP_PM_OPS().
>>
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
> 
> Hi Claudia,
> 
> This patch crossed with a mass conversion series taking lots of drivers
> over to the new PM ops macros. That covered some of the changes in here.
> I've hand applied this but please check I didn't mess it up.

Hi, Jonathan,

I've tested it on a SAMA5D2 and it was good.

Thank you for taking care of it.
Claudiu Beznea

> 
> Thanks,
> 
> Jonathan





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux