<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/video/backlight/backlight.c, branch linux-2.6.31.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-04-13T22:04:28Z</updated>
<entry>
<title>fbdev: fix info-&gt;lock deadlock in fbcon_event_notify()</title>
<updated>2009-04-13T22:04:28Z</updated>
<author>
<name>Andrea Righi</name>
</author>
<published>2009-04-13T21:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=513adb58685615b0b1d47a3f0d40f5352beff189'/>
<id>urn:sha1:513adb58685615b0b1d47a3f0d40f5352beff189</id>
<content type='text'>
fb_notifier_call_chain() is called with info-&gt;lock held, i.e.  in
do_fb_ioctl() =&gt; FBIOPUT_VSCREENINFO =&gt; fb_set_var() and the some
notifier callbacks, like fbcon_event_notify(), try to re-acquire
info-&gt;lock again.

Remove the lock/unlock_fb_info() in all the framebuffer notifier
callbacks' and be sure to always call fb_notifier_call_chain() with
info-&gt;lock held.

Reported-by: Pavel Roskin &lt;proski@gnu.org&gt;
Reported-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Signed-off-by: Andrea Righi &lt;righi.andrea@gmail.com&gt;
Cc: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
Cc: Krzysztof Helt &lt;krzysztof.h1@poczta.fm&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>fbmem: fix fb_info-&gt;lock and mm-&gt;mmap_sem circular locking dependency</title>
<updated>2009-04-01T15:59:29Z</updated>
<author>
<name>Andrea Righi</name>
</author>
<published>2009-03-31T22:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66c1ca019078220dc1bf968f2bb18421100ef147'/>
<id>urn:sha1:66c1ca019078220dc1bf968f2bb18421100ef147</id>
<content type='text'>
Fix a circular locking dependency in the frame buffer console driver
pushing down the mutex fb_info-&gt;lock.

Circular locking dependecies occur calling the blocking
fb_notifier_call_chain() with fb_info-&gt;lock held.  Notifier callbacks can
try to acquire mm-&gt;mmap_sem, while fb_mmap() acquires the locks in the
reverse order mm-&gt;mmap_sem =&gt; fb_info-&gt;lock.

Tested-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: Andrea Righi &lt;righi.andrea@gmail.com&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Cc: Krzysztof Helt &lt;krzysztof.h1@poczta.fm&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>backlight: Add suspend/resume support to the backlight core</title>
<updated>2009-01-08T15:37:43Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2009-01-06T21:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c835ee7f4154992e6cf0674d7ee136f5d36247a4'/>
<id>urn:sha1:c835ee7f4154992e6cf0674d7ee136f5d36247a4</id>
<content type='text'>
Add suspend/resume support to the backlight core and enable use of it
by appropriate drivers.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>bd-&gt;props.brightness doesn't reflect the actual backlight level.</title>
<updated>2009-01-08T14:11:30Z</updated>
<author>
<name>Zhang Rui</name>
</author>
<published>2009-01-08T14:11:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9be1df98bca44dbe3769cd22f4ab8122b76c5313'/>
<id>urn:sha1:9be1df98bca44dbe3769cd22f4ab8122b76c5313</id>
<content type='text'>
Always invoke backlight_update_status when users want to change
the backlight.

For setups where brightness change is an expensive operation,
this could be done in the driver rather than the core.

http://bugzilla.kernel.org/show_bug.cgi?id=12249

Signed-off-by: Zhang Rui &lt;rui.zhang@intel.com&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>backlight: Catch invalid input in sysfs attributes</title>
<updated>2009-01-08T12:37:28Z</updated>
<author>
<name>Pavel Machek</name>
</author>
<published>2008-12-03T08:43:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a2c61a921a8aeabacaccad0d2fdf75e1c1475fb'/>
<id>urn:sha1:9a2c61a921a8aeabacaccad0d2fdf75e1c1475fb</id>
<content type='text'>
Check input properly in backlight, echo &gt; brightness should not turn off
the backlight.

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix printk warning]
Signed-off-by: Pavel Machek &lt;pavel@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>video: struct device - replace bus_id with dev_name(), dev_set_name()</title>
<updated>2009-01-06T18:44:35Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2009-01-06T18:44:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64dba9a9a33ec9ba00b0a504562d9f692ae89884'/>
<id>urn:sha1:64dba9a9a33ec9ba00b0a504562d9f692ae89884</id>
<content type='text'>
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>backlight: Fix missing kernel doc entry</title>
<updated>2008-07-23T08:50:18Z</updated>
<author>
<name>Sebastian Siewior</name>
</author>
<published>2008-07-16T22:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6ec2d96796d0accda6c325890206f3629130729'/>
<id>urn:sha1:f6ec2d96796d0accda6c325890206f3629130729</id>
<content type='text'>
Signed-off-by: Sebastian Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Avoid unecessary driver callbacks</title>
<updated>2008-02-07T09:31:52Z</updated>
<author>
<name>Helge Deller</name>
</author>
<published>2008-01-13T23:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=515524537999c1f107a0a7c7f74c034979c2c86d'/>
<id>urn:sha1:515524537999c1f107a0a7c7f74c034979c2c86d</id>
<content type='text'>
Avoid driver callbacks when the brightness hasn't changed since
they're not necessary.

Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight/leds: Make two structs static</title>
<updated>2007-10-11T21:24:12Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2007-08-11T09:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ad90efde278866a4ba7510e6e1fbd9626da1689'/>
<id>urn:sha1:0ad90efde278866a4ba7510e6e1fbd9626da1689</id>
<content type='text'>
This patch makes two needlessly global structs static.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
</content>
</entry>
<entry>
<title>backlight: Convert from struct class_device to struct device</title>
<updated>2007-07-16T00:20:23Z</updated>
<author>
<name>Richard Purdie</name>
</author>
<published>2007-07-09T11:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=655bfd7aebb12481ab9275284d9500bee5ba3e70'/>
<id>urn:sha1:655bfd7aebb12481ab9275284d9500bee5ba3e70</id>
<content type='text'>
Convert the backlight and LCD classes from struct class_device
to struct device since class_device is scheduled for removal.

One nasty API break is the backlight power attribute has had to be
renamed to bl_power and the LCD power attribute has had to be renamed
to lcd_power since the original names clash with the core. I can't see
a way around this.

Signed-off-by: Richard Purdie &lt;rpurdie@rpsys.net&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
