1
linux/arch/powerpc/platforms/powermac
Michael Hanselmann e01af0384f [PATCH] powermac: Combined fixes for backlight code
This patch fixes several problems:
- pmac_backlight_key() is called under interrupt context, and therefore
  can't use mutexes or semaphores, so defer the backlight level for
  later, as it's not critical (original code by Aristeu S. Rozanski F.
  <aris@valeta.org>).
- Add exports for functions that might be called from modules
- Fix Kconfig depdencies on PMAC_BACKLIGHT.
- Fix locking issues on calls from inside the driver (reported by
  Aristeu S. Rozanski F., too)
- Fix wrong calculation of backlight values in some of the drivers
- Replace pmac_backlight_key_up/down by inline functions

[akpm@osdl.org: fix function prototypes]
Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Acked-by: Aristeu S. Rozanski F. <aris@valeta.org>
Acked-by: Rene Nussbaumer <linux-kernel@killerfox.forkbomb.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:20 -07:00
..
backlight.c [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
bootx_init.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-07-03 21:26:12 -07:00
cache.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_32.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpufreq_64.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feature.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
low_i2c.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
Makefile [PATCH] 3/5 powerpc: Add platform functions interpreter 2006-01-09 15:47:18 +11:00
nvram.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
pci.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
pfunc_base.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
pfunc_core.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pic.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
pic.h powerpc: rename powermac files to remove pmac_ prefix 2005-10-10 22:13:53 +10:00
pmac.h [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
setup.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
smp.c [PATCH] irq-flags: POWERPC: Use the new IRQF_ constants 2006-07-02 13:58:47 -07: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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00