summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch
blob: 066d49956708e4d32dad7bc63f83834057816f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 4456663edfc37d478da19c13683b9e58833ca997 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Tue, 17 Apr 2012 12:35:01 +0200
Subject: [PATCH 28/79] beaglebone: fix ehrpwm backlight

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 arch/arm/mach-omap2/board-am335xevm.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
index 4d5238d..24ed0b6 100644
--- a/arch/arm/mach-omap2/board-am335xevm.c
+++ b/arch/arm/mach-omap2/board-am335xevm.c
@@ -1436,6 +1436,7 @@ late_initcall(ecap0_init);
 static void enable_ehrpwm1(int evm_id, int profile)
 {
 	ehrpwm_backlight_enable = true;
+	am33xx_register_ehrpwm(1, &pwm_pdata[1]);
 }
 
 /* Setup pwm-backlight for bbtoys7lcd */
-- 
1.7.10