On 17.03.2020 14:32, Oleksandr Suvorov wrote: > @@ -187,7 +187,7 @@ static ssize_t polarity_store(struct device *child, > if (sysfs_streq(buf, "normal")) > polarity = PWM_POLARITY_NORMAL; > else if (sysfs_streq(buf, "inversed")) You may also consider this string ^ > - polarity = PWM_POLARITY_INVERSED; > + polarity = PWM_POLARITY_INVERTED;