Merge tag 'nfsd-6.3-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
[linux-block.git] / drivers / pwm / pwm-iqs620a.c
index 4987ca940b648c7f5bd68c866e742e5e165758dd..8362b4870c66c464b7012af7cb8be349f3760dc8 100644 (file)
@@ -55,8 +55,8 @@ static int iqs620_pwm_init(struct iqs620_pwm_private *iqs620_pwm,
        if (ret)
                return ret;
 
-       return regmap_update_bits(iqs62x->regmap, IQS620_PWR_SETTINGS,
-                                 IQS620_PWR_SETTINGS_PWM_OUT, 0xff);
+       return regmap_set_bits(iqs62x->regmap, IQS620_PWR_SETTINGS,
+                              IQS620_PWR_SETTINGS_PWM_OUT);
 }
 
 static int iqs620_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,