From: Sascha Hauer Date: Tue, 28 Aug 2012 09:39:25 +0000 (+0200) Subject: pwm: i.MX: add functions to enable/disable pwm. X-Git-Tag: v3.7-rc1~59^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66ad6a613abeeeabc5217a0498fae63205e8ddb8;p=pandora-kernel.git pwm: i.MX: add functions to enable/disable pwm. We used to enable/disable the PWM only by switching the clock on or off. Instead, use the dedicated register bits. These differ on different SoCs, so introduce a SoC specific function for this. Signed-off-by: Sascha Hauer Reviewed-by: Shawn Guo Reviewed-by: Benoît Thébaudeau Signed-off-by: Thierry Reding --- Reading git-diff-tree failed