WSL2-Linux-Kernel/drivers/macintosh
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
..
Kconfig [PATCH] powermac: Combined fixes for backlight code 2006-07-10 13:24:20 -07:00
Makefile [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
adb-iop.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
adb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
adbhid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ans-lcd.c [PATCH] powerpc: Remove sections use from ppc64 and drivers 2005-09-19 09:38:49 +10:00
apm_emu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mac_hid.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macio-adb.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
macio_asic.c [PATCH] powerpc: fix trigger handling in the new irq code 2006-07-10 13:24:20 -07:00
macio_sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mediabay.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smu.c [PATCH] powerpc: fix SMU driver interrupt mapping 2006-07-10 13:24:20 -07:00
therm_adt746x.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
therm_pm72.h typo fixes: mecanism -> mechanism 2006-06-30 18:20:44 +02:00
therm_windtunnel.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
via-cuda.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
via-macii.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-maciisi.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
via-pmu-backlight.c [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
via-pmu-event.c Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-event.h Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-led.c [POWERPC] Convert powermac ide blink to new led infrastructure 2006-06-28 11:51:12 +10:00
via-pmu.c [POWERPC] Add new interrupt mapping core and change platforms to use it 2006-07-03 21:36:01 +10:00
via-pmu68k.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
windfarm.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_core.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
windfarm_cpufreq_clamp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
windfarm_lm75_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_max6690_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_pid.c [PATCH] windfarm license fix 2006-03-06 18:40:45 -08:00
windfarm_pid.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm81.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm91.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm112.c [PATCH] powerpc: Fix windfarm_pm112 not starting all control loops 2006-03-03 21:44:06 +11:00
windfarm_smu_controls.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_smu_sat.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_smu_sensors.c [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00