diff options
| author | Fernando Yang <[email protected]> | 2024-06-03 18:07:54 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-06-08 17:26:57 +0000 |
| commit | a2b86132955268b2a1703082fbc2d4832fc001b8 (patch) | |
| tree | 10336f02cd604a57a4499b3dc589385bdaae6608 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask (diff) | |
| download | kernel-a2b86132955268b2a1703082fbc2d4832fc001b8.tar.gz kernel-a2b86132955268b2a1703082fbc2d4832fc001b8.zip | |
iio: adc: ad7266: Fix variable checking bug
The ret variable was not checked after iio_device_release_direct_mode(),
which could possibly cause errors
Fixes: c70df20e3159 ("iio: adc: ad7266: claim direct mode during sensor read")
Signed-off-by: Fernando Yang <[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_isp.c')
0 files changed, 0 insertions, 0 deletions
