]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: lpss: Log error from pwm_lpss_is_updating() if the update bit is still set
authorHans de Goede <hdegoede@redhat.com>
Mon, 9 Nov 2020 10:57:24 +0000 (11:57 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 17 Dec 2020 13:18:48 +0000 (14:18 +0100)
commit5ddd35c5bd1308acce78333f51424e310038a3c4
tree47e1a13b2da6e7cfc4f30621b0381218c46e910b
parent500348c6a833ead09aceb34dad7efc9b8c478b92
pwm: lpss: Log error from pwm_lpss_is_updating() if the update bit is still set

pwm_lpss_is_updating() does a sanity check which should never fail.
If the check does actually fail that is worth logging an error,
especially since this means that we will skip making the requested
changes to the PWM settings.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpss.c