mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
bc26321404
Setting the ac97_control field on a CPU DAI tells the ASoC core that this DAI in addition to audio data also transports control data to the CODEC. This causes the core to suspend the DAI after the CODEC and resume it before the CODEC so communication to the CODEC is still possible. This is not necessarily something that is specific to AC'97 and can be used by other buses with the same requirement. This patch renames the flag from ac97_control to bus_control to make this explicit. While we are at it also change the type from int to bool. The following semantich patch was used for automatic conversion of the drivers: // <smpl> @@ identifier drv; @@ struct snd_soc_dai_driver drv = { - .ac97_control + .bus_control = - 1 + true }; // </smpl> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
bf5xx-ac97-pcm.c | ||
bf5xx-ac97.c | ||
bf5xx-ac97.h | ||
bf5xx-ad193x.c | ||
bf5xx-ad1836.c | ||
bf5xx-ad1980.c | ||
bf5xx-ad73311.c | ||
bf5xx-i2s-pcm.c | ||
bf5xx-i2s-pcm.h | ||
bf5xx-i2s.c | ||
bf5xx-sport.c | ||
bf5xx-sport.h | ||
bf5xx-ssm2602.c | ||
bf6xx-i2s.c | ||
bf6xx-sport.c | ||
bf6xx-sport.h | ||
bfin-eval-adau1x61.c | ||
bfin-eval-adau1x81.c | ||
bfin-eval-adau1373.c | ||
bfin-eval-adau1701.c | ||
bfin-eval-adav80x.c | ||
Kconfig | ||
Makefile |