aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
diff options
context:
space:
mode:
authorAngelo Compagnucci <[email protected]>2020-08-19 07:55:25 +0000
committerJonathan Cameron <[email protected]>2020-08-31 09:47:53 +0000
commit3f1093d83d7164e4705e4232ccf76da54adfda85 (patch)
tree24b50934e355163a167d9f01bc8cc72427e95dd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
parentiio: adc: meson-saradc: Use the parent device to look up the calib data (diff)
downloadkernel-3f1093d83d7164e4705e4232ccf76da54adfda85.tar.gz
kernel-3f1093d83d7164e4705e4232ccf76da54adfda85.zip
iio: adc: mcp3422: fix locking scope
Locking should be held for the entire reading sequence involving setting the channel, waiting for the channel switch and reading from the channel. If not, reading from a channel can result mixing with the reading from another channel. Fixes: 07914c84ba30 ("iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC") Signed-off-by: Angelo Compagnucci <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions