diff options
author | Sathyanarayana Nujella <sathyanarayana.nujella@intel.com> | 2018-05-18 11:44:20 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-28 16:08:56 +0000 |
commit | 89a82371e8633e0b982d0c914932042a379f0547 (patch) | |
tree | 40a87efb9602566494577db96b935952f39f3633 /src/soc/intel/skylake/nhlt | |
parent | adb176b81a14f048d64e26980c0b4a87068dca66 (diff) |
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>
Diffstat (limited to 'src/soc/intel/skylake/nhlt')
-rw-r--r-- | src/soc/intel/skylake/nhlt/max98373.c | 4 |
1 files changed, 2 insertions, 2 deletions
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", |