| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * wm8524.c -- WM8524 ALSA SoC Audio driver |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright 2017 NXP |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * 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. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 162 | 159 | |
|---|
| 163 | 160 | #define WM8524_RATES SNDRV_PCM_RATE_8000_192000 |
|---|
| 164 | 161 | |
|---|
| 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) |
|---|
| 166 | 165 | |
|---|
| 167 | 166 | static const struct snd_soc_dai_ops wm8524_dai_ops = { |
|---|
| 168 | 167 | .startup = wm8524_startup, |
|---|