linux_old1/arch/powerpc/platforms
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
..
4xx kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
8xx [POWERPC] Add mpc866ads board-specific bits to arch/powerpc 2007-02-07 14:03:17 +11:00
52xx [POWERPC] Small cleanup of EFIKA platform 2007-02-13 15:35:53 +11:00
82xx [POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads 2007-02-07 14:03:20 +11:00
83xx [POWERPC] 83xx: Updated and renamed MPC8360PB to MPC836x MDS 2007-02-17 10:13:56 -06:00
85xx [POWERPC] 85xx: Renamed MPC8568 MDS board code to match other boards 2007-02-17 16:29:36 -06:00
86xx Merge branch '85xx' into for_paulus 2007-02-16 18:21:18 -06:00
apus powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
cell [POWERPC] cell: PPU Oprofile cleanup patch 2007-02-13 22:03:06 +01:00
celleb [POWERPC] celleb: fix scc_uhc.c dependency 2007-02-16 14:00:20 +11:00
chrp [PATCH] arch/powerpc trivial annotations 2007-02-09 09:14:06 -08:00
embedded6xx [POWERPC] Update to linkstation / kurobox support 2007-02-09 11:41:18 -06:00
iseries [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
maple [POWERPC] Maple: use mmio nvram 2007-02-07 14:03:23 +11:00
pasemi [POWERPC] pasemi: iommu support 2007-02-07 14:03:22 +11:00
powermac backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
prep powerpc: Merge enough to start building in arch/powerpc. 2005-09-26 16:04:21 +10:00
ps3 [POWERPC] PS3: System manager support 2007-02-16 14:00:19 +11:00
pseries [POWERPC] pseries: Enabling auto poweron after power is restored. 2007-02-17 10:22:50 +11:00
Makefile [POWERPC] Restore 'proper' link order in platform 2007-02-13 15:35:53 +11:00