Re: [PATCH v2] iio: adc: at91: add suspend and resume callback

2016-11-05 Thread Jonathan Cameron
On 03/11/16 14:16, Ludovic Desroches wrote: > On Wed, Nov 02, 2016 at 05:21:48PM +0800, Wenyou Yang wrote: >> Add suspend/resume callback, support the pinctrl sleep state when >> the system suspend as well. >> >> Signed-off-by: Wenyou Yang > Acked-by: Ludovic Desroches Applied to the togreg branc

Re: [PATCH v2] iio: adc: at91: add suspend and resume callback

2016-11-03 Thread Ludovic Desroches
On Wed, Nov 02, 2016 at 05:21:48PM +0800, Wenyou Yang wrote: > Add suspend/resume callback, support the pinctrl sleep state when > the system suspend as well. > > Signed-off-by: Wenyou Yang Acked-by: Ludovic Desroches Thanks > --- > > Changes in v2: > - Use CONFIG_PM_SLEEP. > - Use SIMPLE_D

[PATCH v2] iio: adc: at91: add suspend and resume callback

2016-11-02 Thread Wenyou Yang
Add suspend/resume callback, support the pinctrl sleep state when the system suspend as well. Signed-off-by: Wenyou Yang --- Changes in v2: - Use CONFIG_PM_SLEEP. - Use SIMPLE_DEV_PM_OPS macro. drivers/iio/adc/at91_adc.c | 28 1 file changed, 28 insertions(+) di