]> Git Repo - J-linux.git/blobdiff - drivers/pwm/pwm-imx27.c
Merge branch 'regulator-5.4' into regulator-linus
[J-linux.git] / drivers / pwm / pwm-imx27.c
index 434a351fb626be9a790f1a8cafa1e77595bd9dfd..ae11d8577f1866030173c8e47d513d12da590aae 100644 (file)
@@ -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);
This page took 0.028794 seconds and 4 git commands to generate.