|
@@ -189,6 +189,9 @@ static void hdmi_update_short_audio_desc(struct cea_sad *a,
|
|
|
a->channels = GRAB_BITS(buf, 0, 0, 3);
|
|
|
a->channels++;
|
|
|
|
|
|
+ a->sample_bits = 0;
|
|
|
+ a->max_bitrate = 0;
|
|
|
+
|
|
|
a->format = GRAB_BITS(buf, 0, 3, 4);
|
|
|
switch (a->format) {
|
|
|
case AUDIO_CODING_TYPE_REF_STREAM_HEADER:
|
|
@@ -198,7 +201,6 @@ static void hdmi_update_short_audio_desc(struct cea_sad *a,
|
|
|
|
|
|
case AUDIO_CODING_TYPE_LPCM:
|
|
|
val = GRAB_BITS(buf, 2, 0, 3);
|
|
|
- a->sample_bits = 0;
|
|
|
for (i = 0; i < 3; i++)
|
|
|
if (val & (1 << i))
|
|
|
a->sample_bits |= cea_sample_sizes[i + 1];
|