ASoC: Flag AD1980 as an AC97 interface
Special handling is required for suspend and resume of AC97 codecs due to the control path going over the data bus. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
3ba9e10a6d
Коммит
67c91513b8
|
@ -145,6 +145,7 @@ static int ac97_write(struct snd_soc_codec *codec, unsigned int reg,
|
||||||
|
|
||||||
struct snd_soc_dai ad1980_dai = {
|
struct snd_soc_dai ad1980_dai = {
|
||||||
.name = "AC97",
|
.name = "AC97",
|
||||||
|
.ac97_control = 1,
|
||||||
.playback = {
|
.playback = {
|
||||||
.stream_name = "Playback",
|
.stream_name = "Playback",
|
||||||
.channels_min = 2,
|
.channels_min = 2,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче