ASoC: soc-pcm.c: Complete the active count for components without DAIs
authorChancel Liu <chancel.liu@nxp.com>
Mon, 4 Dec 2023 11:15:32 +0000 (19:15 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Dec 2023 14:04:24 +0000 (14:04 +0000)
commit8f039360897bdd2f1f455b46a7f504b677405913
tree3471f38efe2a6e80c5d21a5be1258961f4913505
parent337d93b4285a92280edd7d0a910c3b7cbc70d717
ASoC: soc-pcm.c: Complete the active count for components without DAIs

Some components like platforms don't have DAIs. If the active count of
these components is ignored pinctrl may be wrongly selected between
default and sleep state. So need to increment or decrement the active
count for components without DAIs to avoid it.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://msgid.link/r/20231204111532.3165-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c