forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: count activity via TX/RX base instead of Playback/Capture.
Current ASoC is counting DAI activity via Playback/Capture base, but it will be more flexible if we count it via TX/RX base. This patch removes current stream_active from snd_soc_dai, and adds new txrx_active instead. We can get TX/RX direction from Playback/Capture and rtd. To unify variable naming, this patch uses "txrx" for TX/RX, "stream" for Playback/Capture. Digital Bus Analog +------+ +-----+ dTX dRX| CPU |bTX bRX|Codec|aTX -------------------------------------> playback <------------------------------------- capture dRX dTX| |bRX bTX| |aRX +------+ +-----+ <CPU> <Codec> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
- Loading branch information
Showing
6 changed files
with
46 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters