summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0028-beaglebone-fix-ehrpwm-backlight.patch
blob: 3d725d043dcf8a9bc34b41c03f4977af7ff6db4e (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 61314ea39f2f7cbf5e72efa93350820b83b95fd9 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/33] 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