android_kernel_xiaomi_sm7250/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 [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
ibmasm [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
asus-laptop.c asus-laptop: make code static 2007-03-09 21:06:40 -05:00
ioc4.c [PATCH] IOC3/IOC4: PCI mem space resources 2007-02-11 10:51:25 -08:00
Kconfig ACPI: thinkpad-acpi: register with the device model 2007-04-25 02:00:27 -04:00
lkdtm.c [PATCH] assigning enum constant to char * is vile, even if it happens to be 0 2007-02-09 08:28:48 -08:00
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 [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
tifm_core.c tifm_core: add suspend/resume infrastructure for tifm devices 2007-02-04 20:54:10 +01:00