linux/arch/powerpc/platforms/powermac
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
..
backlight.c backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
bootx_init.c [POWERPC] Fix BootX booting with an initrd 2006-08-23 15:51:18 +10:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
cpufreq_64.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
feature.c [PATCH] Fix compile warnings with CONFIG_PM=n 2006-11-13 14:49:00 +11:00
low_i2c.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
pci.c [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
pfunc_base.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pfunc_core.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
pic.c [PATCH] genirq: remove IRQ_DISABLED 2007-02-16 08:14:00 -08:00
pic.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
pmac.h [POWERPC] Make pci_read_irq_line the default 2006-12-04 16:00:04 +11:00
setup.c [PATCH] Dynamic kernel command-line: powerpc 2007-02-12 09:48:38 -08:00
sleep.S [POWERPC] Fix build breakage with CONFIG_PPC32 2006-10-23 18:23:17 +10:00
smp.c [POWERPC] powermac: local_irq_disable() is redundant after local_irq_save() 2007-02-07 14:03:20 +11:00
time.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
udbg_scc.c [POWERPC] Get default baud rate in udbg_scc 2006-10-04 14:52:31 +10:00