diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-12-23 14:05:24 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-12-24 10:48:00 +0000 |
commit | 9165d659e4a66ce01b785d2f645c5b36efb364cc (patch) | |
tree | fd26aa89519227c5577ed8e0bef72339b82ed48b /drivers/pci/vc.c | |
parent | 82b6305ffb30ad2848a58bbea82225e809e73659 (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 'drivers/pci/vc.c')
0 files changed, 0 insertions, 0 deletions