linux/sound/soc/au1x
Lars-Peter Clausen bc26321404 ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control
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>
2014-11-18 15:38:03 +00:00
..
Kconfig
Makefile
ac97c.c ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control 2014-11-18 15:38:03 +00:00
db1000.c
db1200.c ASoC: db1200: add .owner to struct snd_soc_card 2013-07-15 11:08:55 +01:00
dbdma2.c ASoC: au1x: Don't set unused struct snd_pcm_hardware fields 2013-12-21 14:23:20 +00:00
dma.c ASoC: au1x: Don't set unused struct snd_pcm_hardware fields 2013-12-21 14:23:20 +00:00
i2sc.c ASoC: switch over to use snd_soc_register_component() on au1x i2sc 2013-03-26 21:55:23 +00:00
psc-ac97.c ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control 2014-11-18 15:38:03 +00:00
psc-i2s.c MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00
psc.h MIPS: Alchemy: remove au_read/write/sync 2014-07-30 13:56:34 +02:00