2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/drivers/video/aty
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
..
ati_ids.h [PATCH] fbdev: ATI RN50 pci id 2005-11-07 07:53:53 -08:00
aty128fb.c backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
atyfb_base.c backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
atyfb.h [PATCH] atyfb: Improve power management 2006-12-08 08:29:07 -08:00
mach64_accel.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
mach64_ct.c [PATCH] atyfb: Improve power management 2006-12-08 08:29:07 -08:00
mach64_cursor.c [PATCH] atyfb: Fix section warnings 2006-06-26 09:58:31 -07:00
mach64_gx.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Makefile [PATCH] Rewritten backlight infrastructure for portable Apple computers 2006-06-25 10:00:59 -07:00
radeon_accel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeon_backlight.c backlight: Fix external uses of backlight internal semaphore 2007-02-20 08:38:45 +00:00
radeon_base.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
radeon_i2c.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
radeon_monitor.c [PATCH] drivers/video/*: use kmemdup() 2006-12-08 08:29:07 -08:00
radeon_pm.c [PATCH] radeonfb supend/resume support for Acer Aspire 2010 2006-10-03 08:04:13 -07:00
radeonfb.h [PATCH] radeonfb sleep fixes 2006-07-31 13:28:45 -07:00