Hi ALSA ML
I'm checking ALSA SoC framework. Now, many Components are connected to Card. When we want to do something to all Components, we have 2 type of loops
for_each_card_components(card, component) { ... }
for_each_card_rtds(card, rtd) { for_each_rtd_components(rtd, i, component) { ... } }
(snip)
In total, 1) and 2) loop difference are
- loop is for a) + b) + c)
- loop is for b) + c)
Now, ALSA SoC suspend/resume checks below, but a) doesn't have it.
rtd->dai_link->ignore_suspend.
Thus, "suspend" is using 2) loop, but, "resume" is using 1) loop.
My question here is that can AUX suspend/resume ? I think we need/want to use 1) loop for it.
No response from ML. OK, let's assume that AUX can suspend/resume. If so, current framework has bug. I will fixup it
Thank you for your help !! Best regards --- Kuninori Morimoto