diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2018-10-12 13:12:28 +0300 |
|---|---|---|
| committer | Thierry Reding <thierry.reding@gmail.com> | 2018-10-12 13:32:12 +0300 |
| commit | 42885551cedb45961879d2fc3dc3c4dc545cc23e (patch) | |
| tree | d6ef2e64ef72bab8aefc6e6c4627d623359326e6 /net/lapb/lapb_in.c | |
| parent | 6a425ecd19a2c0e19a501323216ecf987de07841 (diff) | |
| download | linux-42885551cedb45961879d2fc3dc3c4dc545cc23e.tar.xz | |
pwm: lpss: Release runtime-pm reference from the driver's remove callback
For each pwm output which gets enabled through pwm_lpss_apply(), we do a
pm_runtime_get_sync().
This commit adds pm_runtime_put() calls to pwm_lpss_remove() to balance
these when the driver gets removed with some of the outputs still enabled.
Fixes: f080be27d7d9 ("pwm: lpss: Add support for runtime PM")
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
