summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHector Martin <marcan@marcan.st>2026-07-11 11:11:24 +1000
committerMark Brown <broonie@kernel.org>2026-07-13 13:22:41 +0100
commit889c26cfb98dd40f8e7bab721bc11a82dd592c33 (patch)
tree15431157d3f6e76d131d7f62cd3321bfb911a6f7 /tools/perf/scripts/python
parent108a14b20f958ad5cbb8f8bfaf4932dfd69bb0e5 (diff)
ASoC: apple: mca: Do not mark clocks in use for non-providers
On the speakers PCM, this sequence: 1. Open playback 2. Open sense 3. Close playback 4. Close sense would result in the sense FE being marked as clocks in use at (2), since there is a clock provider (playback FE). Then at (4) this would WARN since there is no driver any more when closing the in use clocks. If (1) and (2) are reversed this does not happen, since the sense PCM is not marked as using the clocks when there is no provider yet. So, check explicitly whether the substream FE is a clock provider in be_prepare, and skip everything if it isn't. Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: James Calligeros <jcalligeros99@gmail.com> Link: https://patch.msgid.link/20260711-apple-audio-redux-v4-6-2994d87c2f24@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions