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 <sathyanarayana.nujella@intel.com>
Reviewed-on: https://review.coreboot.org/26384
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sathyanarayana Nujella 2018-05-18 11:44:20 -07:00 committed by Patrick Georgi
parent adb176b81a
commit 89a82371e8
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ static const struct nhlt_format_config max98373_render_formats[] = {
static const struct nhlt_format_config max98373_capture_formats[] = { static const struct nhlt_format_config max98373_capture_formats[] = {
/* 48 KHz 16-bits per sample. */ /* 48 KHz 16-bits per sample. */
{ {
.num_channels = 2, .num_channels = 4,
.sample_freq_khz = 48, .sample_freq_khz = 48,
.container_bits_per_sample = 16, .container_bits_per_sample = 32,
.valid_bits_per_sample = 16, .valid_bits_per_sample = 16,
.speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT, .speaker_mask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT,
.settings_file = "max98373-render-2ch-48khz-16b.bin", .settings_file = "max98373-render-2ch-48khz-16b.bin",