summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/usb-charger-uevent
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2022-08-03 13:28:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-26 14:25:30 +0300
commit44ec4b04fc9950678e266f1ad07a4868120fcb7b (patch)
treecbd88131accf349d51908dae7e95a9b2fa6a1250 /Documentation/ABI/testing/usb-charger-uevent
parent513c72d76df653ab8a15750c3f520a39b514b2dd (diff)
downloadlinux-44ec4b04fc9950678e266f1ad07a4868120fcb7b.tar.xz
iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
[ Upstream commit 808175e21d9b7f866eda742e8970f27b78afe5db ] In case triggered buffers are enabled while system is suspended they will not work anymore after resume. For this call at91_adc_buffer_postdisable() on suspend and at91_adc_buffer_prepare() on resume. On tests it has been seen that at91_adc_buffer_postdisable() call is not necessary but it has been kept because it also does the book keeping for DMA. On resume path there is no need to call at91_adc_configure_touch() as it is embedded in at91_adc_buffer_prepare(). Fixes: 073c662017f2f ("iio: adc: at91-sama5d2_adc: add support for DMA") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220803102855.2191070-5-claudiu.beznea@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/usb-charger-uevent')
0 files changed, 0 insertions, 0 deletions