android_kernel_xiaomi_sm8350/drivers/misc
Henrique de Moraes Holschuh c573ddb998 ACPI: thinkpad-acpi: map ENXIO to EINVAL for fan sysfs
Currently, all fan control operations return ENXIO if unsupported
operations are requested, but return EINVAL if invalid fan modes are
requested on a given ThinkPad.

This is not strictly correct for sysfs, so map ENXIO to EINVAL in the sysfs
attribute store handlers, as we do benefit from the ENXIO in other parts of
the driver code.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-04-28 21:41:19 -04:00
..
hdpuftrs
ibmasm
asus-laptop.c asus-laptop: make code static 2007-03-09 21:06:40 -05:00
ioc4.c
Kconfig ACPI: thinkpad-acpi: register with the device model 2007-04-25 02:00:27 -04:00
lkdtm.c
Makefile ACPI: thinkpad-acpi: cleanup Kconfig for thinkpad-acpi 2007-03-30 15:35:42 -04:00
msi-laptop.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
sony-laptop.c sony-laptop: fix uninitialised variable 2007-03-07 03:05:13 -05:00
thinkpad_acpi.c ACPI: thinkpad-acpi: map ENXIO to EINVAL for fan sysfs 2007-04-28 21:41:19 -04:00
thinkpad_acpi.h ACPI: thinkpad-acpi: add a fan-control feature master toggle 2007-04-28 21:41:14 -04:00
tifm_7xx1.c
tifm_core.c