android_kernel_samsung_msm8976/drivers/macintosh
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
..
adb-iop.c [PATCH] m68k pt_regs fixes 2006-10-07 10:51:14 -07:00
adb.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
adbhid.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
ans-lcd.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
apm_emu.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
Kconfig [PATCH] enable mouse button 2+3 emulation for x86 macs 2007-02-09 09:25:47 -08:00
mac_hid.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
macio-adb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
macio_asic.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
macio_sysfs.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
Makefile [POWERPC] Xserve cpu-meter driver 2006-12-04 20:39:30 +11:00
mediabay.c
nvram.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
rack-meter.c [PATCH] offsetof is size_t 2007-02-09 09:14:07 -08:00
smu.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
therm_adt746x.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
therm_pm72.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
therm_pm72.h [POWERPC] Xserve G5 thermal control fixes 2006-07-28 10:42:49 +10:00
therm_windtunnel.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
via-cuda.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-macii.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-maciisi.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-pmu-backlight.c backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
via-pmu.c [POWERPC] Correct AC Power: in /proc/pmu/info on ibook1 2007-02-13 15:35:52 +11:00
via-pmu68k.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
windfarm.h
windfarm_core.c [POWERPC] windfarm: don't die on suspend thread signal 2007-02-08 16:08:39 +11:00
windfarm_cpufreq_clamp.c
windfarm_lm75_sensor.c
windfarm_max6690_sensor.c
windfarm_pid.c
windfarm_pid.h
windfarm_pm81.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_pm91.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_pm112.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_smu_controls.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
windfarm_smu_sat.c [PATCH] windfarm_smu_sat.c: simplify around i2c_add_driver() 2006-09-29 09:18:19 -07:00
windfarm_smu_sensors.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00