From: Philip, Avinash Date: Thu, 6 Sep 2012 05:10:03 +0000 (+0530) Subject: pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM X-Git-Tag: v3.7-rc1~59^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa5629b21a1e59ed0ef9515a9e791d2f75cc5ca;p=pandora-kernel.git pwm: pwm-tiehrpwm: Add support for configuring polarity of PWM EHRPWM hardware supports polarity configuration of PWM output. However configuration of polarity done in hardware only in .enable() to ensure PWM output present only after enabling PWM. This commit adds support for polarity configuration for EHRPWM. When being here, remove configuring of polarity during .config() and do it explicitly from .set_polarity(). Signed-off-by: Philip, Avinash Signed-off-by: Thierry Reding --- Reading git-diff-tree failed