linux-stable/drivers/platform/x86/dell
Armin Wolf 8c48938375 platform/x86: dell-ddv: Improve error handling
If for some reason a external function returns -ENODEV,
no error message is being displayed because the driver
assumes that -ENODEV can only be returned internally if
no sensors, etc where found.
Fix this by explicitly returning 0 in such a case since
missing hardware is no error. Also remove the now obsolete
check for -ENODEV.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230707010333.12954-1-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-07-11 12:15:30 +02:00
..
dell-wmi-sysman platform/x86: dell-sysman: Improve instance detection 2023-05-09 12:07:40 +02:00
alienware-wmi.c platform/x86/dell: alienware-wmi: Use sysfs_emit() instead of scnprintf() 2022-12-08 17:07:07 +01:00
dcdbas.c platform/x86: dell: dcdbas: Convert to platform remove callback returning void 2023-03-07 12:19:49 +01:00
dcdbas.h platform/x86/dell: add buffer allocation/free functions for SMI calls 2022-04-27 21:45:28 +02:00
dell-laptop.c platform/x86: dell-laptop: Register ctl-led for speaker-mute 2023-03-16 14:51:07 +01:00
dell-rbtn.c platform/x86/dell/dell-rbtn: Fix resources leaking on error path 2023-06-14 09:21:19 +02:00
dell-rbtn.h
dell-smbios-base.c platform/x86: dell-smbios-base: Use sysfs_emit() 2022-09-27 15:05:32 +02:00
dell-smbios-smm.c platform/x86/dell: add buffer allocation/free functions for SMI calls 2022-04-27 21:45:28 +02:00
dell-smbios-wmi.c platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call 2021-08-26 16:09:43 +02:00
dell-smbios.h platform/x86: dell-laptop: Register ctl-led for speaker-mute 2023-03-16 14:51:07 +01:00
dell-smo8800.c platform/x86: dell: dell-smo8800: Convert to platform remove callback returning void 2023-03-07 12:19:56 +01:00
dell-wmi-aio.c
dell-wmi-base.c platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table 2023-01-24 13:41:13 +01:00
dell-wmi-ddv.c platform/x86: dell-ddv: Improve error handling 2023-07-11 12:15:30 +02:00
dell-wmi-descriptor.c platform/x86: Adjust Dell drivers to a personal email address 2021-04-07 19:47:23 +02:00
dell-wmi-descriptor.h
dell-wmi-led.c
dell-wmi-privacy.c platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present 2023-01-12 19:40:19 +01:00
dell-wmi-privacy.h platform/x86: dell-privacy: Add support for Dell hardware privacy 2021-06-16 17:47:51 +02:00
dell_rbu.c platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00
Kconfig platform/x86: dell-ddv: Add hwmon support 2023-02-13 12:07:50 +01:00
Makefile platform/x86: dell: Add new dell-wmi-ddv driver 2022-11-16 08:48:18 +01:00