Re: [patch] added brightness feature to lcd class.

From
Richard Purdie <hidden>
Date
2009-11-10 08:46:36
Also in
lkml
Reply to
InKi Dae, 2009-11-10
On Tue, 2009-11-10 at 12:26 +0900, InKi Dae wrote:
Thank you for your comments.

it is a good idea that lcd driver registers interfaces to lcd class
and backlight class.
but I think for AMOLED LCD Panel, backlight couldn't be real device so
power on/off
for backlight device doesn't make sense.
The backlight power control can just turn the backlight level down to
its lowest setting (off)?
I had tried lcd driver registers interfaces to lcd class and backlight
class as you said.
and also backlight fake driver as Pavel said.
So you've tried this, what was the problem? Perhaps post this driver
code to illustrate your problem?
but I thought to use my patch is more simple and effective.
of course, this patch has a problem that it has different path from
backlight class
for controlling brightness.

how about creating symbolic link file for competiability?
Creating two ways to do something (with or without symlinks) is not
simple and effective for anything other than your driver.

Cheers,

Richard
Thread (14 messages) 14 messages, 5 authors, last reply 2009-11-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help