diff options
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
| -rw-r--r-- | drivers/pwm/pwm-imx27.c | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-imx27.c b/drivers/pwm/pwm-imx27.c index 434a351fb626..ae11d8577f18 100644 --- a/drivers/pwm/pwm-imx27.c +++ b/drivers/pwm/pwm-imx27.c @@ -3,6 +3,10 @@   * simple driver for PWM (Pulse Width Modulator) controller   *   * Derived from pxa PWM driver by eric miao <[email protected]> + * + * Limitations: + * - When disabled the output is driven to 0 independent of the configured + *   polarity.   */  #include <linux/bitfield.h> @@ -205,7 +209,7 @@ static void pwm_imx27_wait_fifo_slot(struct pwm_chip *chip,  }  static int pwm_imx27_apply(struct pwm_chip *chip, struct pwm_device *pwm, -			   struct pwm_state *state) +			   const struct pwm_state *state)  {  	unsigned long period_cycles, duty_cycles, prescale;  	struct pwm_imx27_chip *imx = to_pwm_imx27_chip(chip);  |