projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c47660
)
ASoC: mmp-sspa: Flip SNDRV_PCM_FMTBIT_S24_3LE on
author
Lubomir Rintel
<lkundrak@v3.sk>
Mon, 11 May 2020 21:01:24 +0000
(23:01 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 12 May 2020 13:20:31 +0000
(14:20 +0100)
The hw_params() callback handles the 3-byte format, not
SNDRV_PCM_FMTBIT_S24_LE.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link:
https://lore.kernel.org/r/20200511210134.1224532-2-lkundrak@v3.sk
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-sspa.c
patch
|
blob
|
history
diff --git
a/sound/soc/pxa/mmp-sspa.c
b/sound/soc/pxa/mmp-sspa.c
index 3548a2634a635f3b9ff49a681f322b24033447f6..1ca6afe464c4986b8d02c6618d393706b3f51cc9 100644
(file)
--- a/
sound/soc/pxa/mmp-sspa.c
+++ b/
sound/soc/pxa/mmp-sspa.c
@@
-362,7
+362,7
@@
static int mmp_sspa_probe(struct snd_soc_dai *dai)
#define MMP_SSPA_RATES SNDRV_PCM_RATE_8000_192000
#define MMP_SSPA_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
SNDRV_PCM_FMTBIT_S16_LE | \
- SNDRV_PCM_FMTBIT_S24_LE | \
+ SNDRV_PCM_FMTBIT_S24_
3
LE | \
SNDRV_PCM_FMTBIT_S32_LE)
static const struct snd_soc_dai_ops mmp_sspa_dai_ops = {