Skip to content

Commit 74fcfde

Browse files
lkundrakbroonie
authored andcommitted
ASoC: mmp-sspa: Drop S20_3LE case
It does nothing, because the corresponding bit s not flipped on in .formats and the audio SRAM DMA engine is not able to handle 20-bit transfers anyway. Signed-off-by: Lubomir Rintel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 00a1aca commit 74fcfde

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sound/soc/pxa/mmp-sspa.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ static int mmp_sspa_hw_params(struct snd_pcm_substream *substream,
275275
case SNDRV_PCM_FORMAT_S16_LE:
276276
sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_16_BITS);
277277
break;
278-
case SNDRV_PCM_FORMAT_S20_3LE:
279-
sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_20_BITS);
280-
break;
281278
case SNDRV_PCM_FORMAT_S24_3LE:
282279
sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_24_BITS);
283280
break;

0 commit comments

Comments
 (0)