android_kernel_xiaomi_sm8350/drivers/usb/misc
pancho horrillo 37e9066b2f USB: Fix a bug on appledisplay.c regarding signedness
brightness status is reported by the Apple Cinema Displays as an
'unsigned char' (u8) value, but the code used 'char' instead.

Note that he driver was developed on the PowerPC architecture,
where the two types are synonymous, which is not always the case.

Fixed that.  Otherwise the driver will interpret brightness
levels > 127 as negative, and fail to load.

Signed-off-by: pancho horrillo <pancho@pancho.name>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-23 11:34:20 -08:00
..
sisusbvga headers: kref.h redux 2009-09-26 10:17:19 -07:00
adutux.c
appledisplay.c USB: Fix a bug on appledisplay.c regarding signedness 2009-12-23 11:34:20 -08:00
berry_charge.c
cypress_cy7c63.c
cytherm.c
emi26.c
emi62.c USB: emi62: fix crash when trying to load EMI 6|2 firmware 2009-12-23 11:34:11 -08:00
ftdi-elan.c
idmouse.c USB: full power management support for the idmouse driver 2009-09-23 06:46:28 -07:00
iowarrior.c Driver-Core: extend devnode callbacks to provide permissions 2009-09-19 12:50:38 -07:00
isight_firmware.c
Kconfig
ldusb.c USB: ldusb should signal an error in poll if the device is disconnected 2009-09-23 06:46:28 -07:00
legousbtower.c USB: legousbtower: make poll notice disconnect 2009-09-23 06:46:28 -07:00
Makefile
rio500_usb.h
rio500.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
trancevibrator.c
usb_u132.h
usblcd.c USB: usblcd, fix memory leak 2009-10-09 13:52:06 -07:00
usbled.c
usbsevseg.c USB: full autosuspend and power management support for usbsevseg 2009-09-23 06:46:28 -07:00
usbtest.c usbtest: make module param pattern writeable 2009-12-11 11:55:22 -08:00
uss720.c
vstusb.c