Closed pyavitz closed 2 years ago
In my testing the following seems to correct the problem and bring the fan back to life.
--- a/drivers/pwm/pwm-gpio.c 2021-10-30 06:18:02.000000000 -0400
+++ b/drivers/pwm/pwm-gpio.c 2021-11-01 13:09:47.822237106 -0400
@@ -229,7 +229,9 @@
hrtimer_cancel(&gpio_data->timer);
}
- return pwmchip_remove(&gpio_chip->chip);
+ pwmchip_remove(&gpio_chip->chip);
+
+ return 0;
}
static const struct of_device_id gpio_pwm_of_match[] = {
Thanks, I didn't aware of this yet. The fix has been uploaded. :) https://github.com/tobetter/linux/commit/817779d3e11400515fdb46ec2bade03b6bd5139a
Thanks
The following commit seems to be broken on 5.15.y.
Unless its me? But it compiles fine on 5.14.15