projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b9b162
)
ARM: OMAP: Initialize PWM backlight enable_gpio field
author
Thierry Reding
<
[email protected]
>
Fri, 30 Aug 2013 10:13:53 +0000
(12:13 +0200)
committer
Thierry Reding
<
[email protected]
>
Wed, 16 Oct 2013 07:05:57 +0000
(09:05 +0200)
The GPIO API defines 0 as being a valid GPIO number, so this field needs
to be initialized explicitly.
Signed-off-by: Thierry Reding <
[email protected]
>
arch/arm/mach-omap2/board-zoom-peripherals.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/board-zoom-peripherals.c
b/arch/arm/mach-omap2/board-zoom-peripherals.c
index a90375d5b2b6ea26af9168fdfd697556334d3e72..5ed28844e6733414f26d9ae48aacde0f785e4c31 100644
(file)
--- a/
arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/
arch/arm/mach-omap2/board-zoom-peripherals.c
@@
-227,6
+227,7
@@
static struct platform_pwm_backlight_data zoom_backlight_data = {
.max_brightness = 127,
.dft_brightness = 127,
.pwm_period_ns = 7812500,
+ .enable_gpio = -1,
};
static struct platform_device zoom_backlight_pwm = {