kernel-fxtec-pro1x/drivers/misc
Richard Purdie 28ee086d5b backlight: Fix external uses of backlight internal semaphore
backlight_device->sem has a very specific use as documented in the
header file. The external users of this are using it for a different
reason, to serialise access to the update_status() method.

backlight users were supposed to implement their own internal
serialisation of update_status() if needed but everyone is doing
things differently and incorrectly. Therefore add a global mutex to
take care of serialisation for everyone, once and for all.

Locking for get_brightness remains optional since most users don't
need it.

Also update the lcd class in a similar way.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2007-02-20 08:38:45 +00: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 backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
ioc4.c [PATCH] IOC3/IOC4: PCI mem space resources 2007-02-11 10:51:25 -08:00
Kconfig Pull sony into release branch 2007-02-16 22:10:55 -05: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 Pull sony into release branch 2007-02-16 22:10:55 -05:00
msi-laptop.c backlight: Remove unneeded owner field 2007-02-20 08:37:40 +00:00
sony-laptop.c backlight: Remove unneeded owner field 2007-02-20 08:37:40 +00: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