From 89a82371e8633e0b982d0c914932042a379f0547 Mon Sep 17 00:00:00 2001 From: Sathyanarayana Nujella Date: Fri, 18 May 2018 11:44:20 -0700 Subject: intel/skylake: nhlt: Update Max98373's capture format Max98373's NHLT capture configuration is used for IV feedback for DSM algorithm. Feedback is 4-channel data. Without this configuration below error is seen in dmesg: [ 315.784250] snd_soc_skl 0000:00:1f.3: Blob NULL for id 0 type 3 dirn 1 [ 315.784263] snd_soc_skl 0000:00:1f.3: PCM: ch 4, freq 48000, fmt 32 So, update nhlt configuration accordingly. BUG=b:79362472 TEST=Audio playback works with IV feedback enabled Change-Id: I75434a63fe030ed9bb963c6d300d833a8e7d2d66 Signed-off-by: Sathyanarayana Nujella Reviewed-on: https://review.coreboot.org/26384 Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/soc/intel/skylake/nhlt/max98373.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc') diff --git a/src/soc/intel/skylake/nhlt/max98373.c b/src/soc/intel/skylake/nhlt/max98373.c index 6d357f6a62..7d01b92816 100644 --- a/src/soc/intel/skylake/nhlt/max98373.c +++ b/src/soc/intel/skylake/nhlt/max98373.c @@ -39,9 +39,9 @@ static const struct nhlt_format_config max98373_render_formats[] = { static const struct nhlt_format_config max98373_capture_formats[] = { /* 48 KHz 16-bits per sample. */ { - .num_channels = 2, + .num_channels = 4, .sample_freq_khz = 48, - .container_bits_per_sample = 16, + .container_bits_per_sample = 32, .valid_bits_per_sample = 16, .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT, .settings_file = "max98373-render-2ch-48khz-16b.bin", -- cgit v1.2.3