Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'fixes-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds

Pull LED fix from Bryan Wu.

* 'fixes-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds:
leds: leds-gpio: set devm_gpio_request_one() flags param correctly

+3 -2
+3 -2
drivers/leds/leds-gpio.c
··· 127 127 led_dat->cdev.flags |= LED_CORE_SUSPENDRESUME; 128 128 129 129 ret = devm_gpio_request_one(parent, template->gpio, 130 - GPIOF_DIR_OUT | (led_dat->active_low ^ state), 131 - template->name); 130 + (led_dat->active_low ^ state) ? 131 + GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW, 132 + template->name); 132 133 if (ret < 0) 133 134 return ret; 134 135