diff options
| author | Ovidiu Panait <ovidiu.panait.oss@gmail.com> | 2025-05-01 22:06:50 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-05-05 18:20:45 +0800 |
| commit | 9334f427576e6d361a409959b52246b0aa10476f (patch) | |
| tree | 973e78957004ca3b47c4a3c311f2e84a0f3f14f5 /tools/lib/python/kdoc/python_version.py | |
| parent | 8fd17374be8f220c26bec2b482cabf51ebbaed80 (diff) | |
crypto: sun8i-ce - undo runtime PM changes during driver removal
The pm_runtime_use_autosuspend() call must be undone with
pm_runtime_dont_use_autosuspend() at driver exit, but this is not
currently handled in the driver.
To fix this issue and at the same time simplify error handling, switch
to devm_pm_runtime_enable(). It will call both pm_runtime_disable() and
pm_runtime_dont_use_autosuspend() during driver removal.
Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
