diff options
author | Fernando Yang <hagisf@usp.br> | 2024-06-03 15:07:54 -0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-08 18:26:57 +0100 |
commit | a2b86132955268b2a1703082fbc2d4832fc001b8 (patch) | |
tree | 10336f02cd604a57a4499b3dc589385bdaae6608 /net/unix/garbage.c | |
parent | 89b898c627a49b978a4c323ea6856eacfc21f6ba (diff) |
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 <hagisf@usp.br>
Link: https://lore.kernel.org/r/20240603180757.8560-1-hagisf@usp.br
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions