projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57d1e89
)
ASoC: max98363: Removed 32bit support
author
Ryan Lee
<ryans.lee@analog.com>
Thu, 1 Jun 2023 13:05:59 +0000
(06:05 -0700)
committer
Mark Brown
<broonie@kernel.org>
Thu, 1 Jun 2023 13:11:49 +0000
(14:11 +0100)
MAX98363 does not support 32bit depth audio.
Removed 32bit from the supported format list.
Instead, added 16bit and 24bit to the list.
Signed-off-by: Ryan Lee <ryans.lee@analog.com>
Link:
https://lore.kernel.org/r/20230601130600.25344-1-ryan.lee.analog@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98363.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98363.c
b/sound/soc/codecs/max98363.c
index dcce06bff756b5480f3e80c2a6107b56604b5013..53e19c8abb405e3035993a8d9c2abfa07b76dc3d 100644
(file)
--- a/
sound/soc/codecs/max98363.c
+++ b/
sound/soc/codecs/max98363.c
@@
-211,7
+211,7
@@
static int max98363_io_init(struct sdw_slave *slave)
}
#define MAX98363_RATES SNDRV_PCM_RATE_8000_192000
-#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S
32
_LE)
+#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S
16_LE | SNDRV_PCM_FMTBIT_S24
_LE)
static int max98363_sdw_dai_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,