Re: [PATCH] toshiba_acpi: Only register backlight device when interface is read/write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seth Forshee wrote:

> Currently the backlight device is registered unconditionally, but many
> (probably most) Toshibas either don't support HCI_LCD_BRIGHTNESS or only
> support reading from it. This patch adds a test of HCI_LCD_BRIGHTNESS
> during initialization and only registers the backlight device if this
> interface supports both reads and writes.
> 
> Cc: Akio Idehara <zbe64533@xxxxxxxxx>
> Signed-off-by: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>
> ---
> Matthew,
> 
> Please consider applying this as a fix for 3.4.
> 
> This is certainly going to conflict with Akio's tr_backlight patch, but
> I made no attempt at merging the two since the tr_backlight patch is not
> applied yet and is probably 3.5 material anyway. I'm more than happy to
> work with Akio to fix up the conflicts.


This is working fine for me. Thank you!

I'll try to merge my tr_backlight patch after this patch is applied.


Tested-by: Akio Idehara <zbe64533@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux