mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 13:40:53 +07:00
[ALSA] ASoC AT91xxxx eti B1 machine SSC changes
This patch by Frank Madarino updates the eti B1 machine to use the newer AT91xxxx SSC core with the DSP/PCM audio hardware changes. Changes:- o #include 'at91-ssc.h' instead of 'at91-i2s.h' o Rename various I2S labels to SSC Signed-off-by: Frank Mandarino <fmandarino@endrelia.com> Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
36b8a8bbb4
commit
eb831da553
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#include "../codecs/wm8731.h"
|
#include "../codecs/wm8731.h"
|
||||||
#include "at91-pcm.h"
|
#include "at91-pcm.h"
|
||||||
#include "at91-i2s.h"
|
#include "at91-ssc.h"
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
#define DBG(x...) printk(KERN_INFO "eti_b1_wm8731: " x)
|
#define DBG(x...) printk(KERN_INFO "eti_b1_wm8731: " x)
|
||||||
@ -248,15 +248,15 @@ static int eti_b1_wm8731_init(struct snd_soc_codec *codec)
|
|||||||
|
|
||||||
static struct snd_soc_dai_link eti_b1_dai = {
|
static struct snd_soc_dai_link eti_b1_dai = {
|
||||||
.name = "WM8731",
|
.name = "WM8731",
|
||||||
.stream_name = "WM8731",
|
.stream_name = "WM8731 PCM",
|
||||||
.cpu_dai = &at91_i2s_dai[1],
|
.cpu_dai = &at91_ssc_dai[1],
|
||||||
.codec_dai = &wm8731_dai,
|
.codec_dai = &wm8731_dai,
|
||||||
.init = eti_b1_wm8731_init,
|
.init = eti_b1_wm8731_init,
|
||||||
.ops = &eti_b1_ops,
|
.ops = &eti_b1_ops,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct snd_soc_machine snd_soc_machine_eti_b1 = {
|
static struct snd_soc_machine snd_soc_machine_eti_b1 = {
|
||||||
.name = "ETI_B1",
|
.name = "ETI_B1_WM8731",
|
||||||
.dai_link = &eti_b1_dai,
|
.dai_link = &eti_b1_dai,
|
||||||
.num_links = 1,
|
.num_links = 1,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user