diff --git a/sound/soc/amlogic/auge/sharebuffer.c b/sound/soc/amlogic/auge/sharebuffer.c index d0352711f..7c9b231ca 100644 --- a/sound/soc/amlogic/auge/sharebuffer.c +++ b/sound/soc/amlogic/auge/sharebuffer.c @@ -68,9 +68,11 @@ static int sharebuffer_spdifout_prepare(struct snd_pcm_substream *substream, spdif_set_validity(0, spdif_id); /* for samesource case, always 2ch substream to hdmitx */ + aud_param.aud_src_if = AUD_SRC_IF_SPDIF; aud_param.rate = runtime->rate; aud_param.size = runtime->sample_bits; aud_param.chs = 2; + aud_param.i2s_ch_mask = 0x1; /* notify hdmitx audio */ if (get_hdmitx_audio_src(rtd->card) == spdif_id) { diff --git a/sound/soc/amlogic/common/iec_info.c b/sound/soc/amlogic/common/iec_info.c index 291a6f7a8..4cf6002bb 100644 --- a/sound/soc/amlogic/common/iec_info.c +++ b/sound/soc/amlogic/common/iec_info.c @@ -459,6 +459,7 @@ void spdif_notify_to_hdmitx(struct snd_pcm_substream *substream, aud_param.rate = substream->runtime->rate; aud_param.size = substream->runtime->sample_bits; aud_param.chs = substream->runtime->channels; + aud_param.i2s_ch_mask = 0x1; aud_param.aud_src_if = AUD_SRC_IF_SPDIF; if (codec_type == AUD_CODEC_TYPE_AC3) {