diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-12-23 14:05:24 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-28 14:48:19 +0200 |
commit | f328e9c6dcf796e16637e81dbc016db5e1aa1a83 (patch) | |
tree | 5ecd793409af12d37ed1afead74eb92328872685 /mm/cma.c | |
parent | d2e1d6e10448c405f83e5e6bb716013343e32b59 (diff) |
sound: soc: fsl-spdif: Fix runtime PM imbalance on error
In case of any error occurs after enabling the PM runtime framework
for the fsl-spdif-dai device, the next probing generates the
warning:
"fsl-spdif-dai 2004000.spdif: Unbalanced pm_runtime_enable!"
Add the error handling path to keep the PM runtime usage counter balanced.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'mm/cma.c')
0 files changed, 0 insertions, 0 deletions