diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-04-29 15:32:18 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-28 13:28:11 +0200 |
commit | ec67fba92ebf6249b8155613063e403c695696c6 (patch) | |
tree | 10808a8706e7bfca9f0b4b5735ee050157b038d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ad5e085c63f59391f5cfbde64fbff192872dfe8f (diff) |
pwm: tiecap: Drop .free() callback
ecap_pwm_free is only called when a consumer releases the PWM (using
pwm_put() or pwm_free()). The consumer is expected to disable the PWM
before doing that. It's not clear if a warning about that is justified, but
if it is this is independent of the actual driver and can better be done in
the core. Also if there is a good reason it's wrong to disable the hardware
and so the call to pm_runtime_put_sync() should be dropped. Moreover there
is no matching pwm_runtime_get call and so the runtime usage counter might
become negative.
Fixes: 8e0cb05b3b75 ("pwm: pwm-tiecap: PWM driver support for ECAP APWM")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions