|
@@ -232,7 +232,7 @@ static int wm8711_set_dai_fmt(struct snd_soc_dai *codec_dai,
|
|
unsigned int fmt)
|
|
unsigned int fmt)
|
|
{
|
|
{
|
|
struct snd_soc_codec *codec = codec_dai->codec;
|
|
struct snd_soc_codec *codec = codec_dai->codec;
|
|
- u16 iface = 0;
|
|
|
|
|
|
+ u16 iface = snd_soc_read(codec, WM8711_IFACE) & 0x000c;
|
|
|
|
|
|
/* set master/slave audio interface */
|
|
/* set master/slave audio interface */
|
|
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
|
|
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
|