summaryrefslogtreecommitdiff
path: root/sound/mips
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2023-01-26 20:40:18 +0100
committerHans de Goede <hdegoede@redhat.com>2023-02-03 10:01:50 +0100
commit36d44825faf42903a0b92dd49a9620e2cbdcbe18 (patch)
tree7d9e07566914fc37b0a02f4ce3de2c25aa075172 /sound/mips
parent3e899fec5dfce37701d49d656954a825275bf867 (diff)
downloadlwn-36d44825faf42903a0b92dd49a9620e2cbdcbe18.tar.gz
lwn-36d44825faf42903a0b92dd49a9620e2cbdcbe18.zip
platform/x86: dell-ddv: Return error if buffer is empty
In several cases, the DDV WMI interface can return buffers with a length of zero. Return -ENODATA in such a case for proper error handling. Also replace some -EIO errors with more specialized ones. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20230126194021.381092-3-W_Armin@gmx.de Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions