dell-laptop: touchpad LED should persist its status after S3

Touchpad LED will not turn on after S3, it will make the touchpad status
doesn't consist with the LED.
By adding one flag to let the LED device restore it's status.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
AceLan Kao 2012-01-17 16:18:06 +08:00 коммит произвёл Matthew Garrett
Родитель 3197059af0
Коммит 2d5de9e849
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -641,6 +641,7 @@ static void touchpad_led_set(struct led_classdev *led_cdev,
static struct led_classdev touchpad_led = {
.name = "dell-laptop::touchpad",
.brightness_set = touchpad_led_set,
.flags = LED_CORE_SUSPENDRESUME,
};
static int __devinit touchpad_led_init(struct device *dev)