drivers/platform/x86: Backlight-Add-backlight-type-v2.patch

Corentin Chary corentin.chary at
Wed Oct 27 04:39:10 PDT 2010

On Wed, Oct 27, 2010 at 1:06 PM, Sedat Dilek <sedat.dilek at> wrote:
> Hi,
> while testing linux-next I wanted to reactivate the backlight type
> patches laying in my build-dir.
> Within 2.6.36-rcX cycle I had successfully tested the backlight type
> patch [1] with an additional patch for radeon by Michel (posted to
> dri-devel ML, see [2]).
> The main patch needs a little refreshing.
> v2: drivers/platform/x86/asus-laptop.c: Refreshed to fit linux-next
> (next-20101027)
> Kind Regards,
> - Sedat -
> [1]
> [2]


I think rfkill has the same problem, on some platforms, the platform
driver will add a rfkill switch, but the network (wlan/wimax/whatever)
driver may also add one. AFAIK, the platform one is more likely to be
able to power down the device completly.

For the current patch, a common pattern seems to be : video/ -> RAW,
platform/ -> PLATFORM. Couldn't we make some guess by checking the
parent of the backlight instead of doing this by hand for every
drivers ?


Corentin Chary

More information about the dri-devel mailing list