On Wed, Oct 27, 2010 at 1:06 PM, Sedat Dilek <sedat.dilek@xxxxxxxxxxxxxx> 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] https://patchwork.kernel.org/patch/163971/ > [2] https://patchwork.kernel.org/patch/182352/ > Hi, 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 ? Thanks, -- Corentin Chary http://xf.iksaif.net _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel