forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/soc/codecs/wm8524.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * wm8524.c -- WM8524 ALSA SoC Audio driver
34 *
....@@ -5,10 +6,6 @@
56 * Copyright 2017 NXP
67 *
78 * Based on WM8523 ALSA SoC Audio driver written by Mark Brown
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License version 2 as
11
- * published by the Free Software Foundation.
129 */
1310
1411 #include <linux/module.h>
....@@ -162,7 +159,9 @@
162159
163160 #define WM8524_RATES SNDRV_PCM_RATE_8000_192000
164161
165
-#define WM8524_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
162
+#define WM8524_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\
163
+ SNDRV_PCM_FMTBIT_S24_LE |\
164
+ SNDRV_PCM_FMTBIT_S32_LE)
166165
167166 static const struct snd_soc_dai_ops wm8524_dai_ops = {
168167 .startup = wm8524_startup,