aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-07-13 13:13:41 +0000
committerJonathan Cameron <[email protected]>2017-07-17 20:36:54 +0000
commite59e18989c68a8d7941005f81ad6abc4ca682de0 (patch)
tree001e94c2c7c7c837a52303dac4243e39b1479f6a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentstaging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read (diff)
downloadkernel-e59e18989c68a8d7941005f81ad6abc4ca682de0.tar.gz
kernel-e59e18989c68a8d7941005f81ad6abc4ca682de0.zip
iio: accel: bmc150: Always restore device to normal mode after suspend-resume
After probe we would put the device in normal mode, after a runtime suspend-resume we would put it back in normal mode. But for a regular suspend-resume we would only put it back in normal mode if triggers or events have been requested. This is not consistent and breaks reading raw values after a suspend-resume. This commit changes the regular resume path to also unconditionally put the device back in normal mode, fixing reading of raw values not working after a regular suspend-resume cycle. Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Srinivas Pandruvada <[email protected]> Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions