Re: Question: Can aux_dev suspend/resume ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 
> 1)	for_each_card_components(card, component) {
> 		...
> 	}
> 
> 2)	for_each_card_rtds(card, rtd) {
> 		for_each_rtd_components(rtd, i, component) {
> 			...
> 		}
> 	}
(snip)
> In total, 1) and 2) loop difference are
> 
> 	1) loop is for a) + b) + c)
> 	2) 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux