diff options
-rw-r--r-- | sound/soc/omap/omap-hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-hdmi.c b/sound/soc/omap/omap-hdmi.c index 7ea24819d570..32fa840c493e 100644 --- a/sound/soc/omap/omap-hdmi.c +++ b/sound/soc/omap/omap-hdmi.c | |||
@@ -110,6 +110,8 @@ static int omap_hdmi_dai_hw_params(struct snd_pcm_substream *substream, | |||
110 | /* | 110 | /* |
111 | * fill the IEC-60958 channel status word | 111 | * fill the IEC-60958 channel status word |
112 | */ | 112 | */ |
113 | /* initialize the word bytes */ | ||
114 | memset(iec->status, 0, sizeof(iec->status)); | ||
113 | 115 | ||
114 | /* specify IEC-60958-3 (commercial use) */ | 116 | /* specify IEC-60958-3 (commercial use) */ |
115 | iec->status[0] &= ~IEC958_AES0_PROFESSIONAL; | 117 | iec->status[0] &= ~IEC958_AES0_PROFESSIONAL; |