mbox series

[0/2] specify the pin state after pwm_disable as explicitly undefined

Message ID 20180820144357.7206-1-u.kleine-koenig@pengutronix.de
Headers show
Series specify the pin state after pwm_disable as explicitly undefined | expand

Message

Uwe Kleine-König Aug. 20, 2018, 2:43 p.m. UTC
Hello Thierry,

these would be the first two patches I'd suggest after you fail to find
an example that shows a disadvantage of my suggestion. :-)

Best regards
Uwe

Uwe Kleine-König (2):
  pwm: document the pin state after pwm_disable() to be undefined
  pwm: warn callers of pwm_apply_state() that expect a certain level
    after disabling

 Documentation/pwm.txt |  8 ++++++--
 drivers/pwm/core.c    | 12 ++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)