Skip to content

Commit 1bd7b0f

Browse files
michaelsit-iotgbroonie
authored andcommitted
ASoC: Intel: KMB: Fix S24_LE configuration
S24_LE is 24 bit audio in 32 bit container configuration Fixing the configuration to match the data arrangement of this audio format. Fixes: c5477e9 ("ASoC: Intel: Add KeemBay platform driver") Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20201116061905.32431-2-michael.wei.hong.sit@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 106e6d8 commit 1bd7b0f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/intel/keembay/kmb_platform.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,9 @@ static int kmb_dai_hw_params(struct snd_pcm_substream *substream,
487487
kmb_i2s->xfer_resolution = 0x02;
488488
break;
489489
case SNDRV_PCM_FORMAT_S24_LE:
490-
config->data_width = 24;
491-
kmb_i2s->ccr = 0x08;
492-
kmb_i2s->xfer_resolution = 0x04;
490+
config->data_width = 32;
491+
kmb_i2s->ccr = 0x14;
492+
kmb_i2s->xfer_resolution = 0x05;
493493
break;
494494
case SNDRV_PCM_FORMAT_S32_LE:
495495
config->data_width = 32;

0 commit comments

Comments
 (0)