Hi,
On Sat, Jan 7, 2017 at 1:41 AM, <[email protected]> wrote:
> From: Hanspeter Portner <[email protected]>
>
> Change SPDIF playback formats from wrongly used enumerators
> SNDRV_PCM_FORMAT_* to proper SNDRV_PCM_FMTBIT_* bitfields.
>
> Signed-off-by: Hanspeter Portner <[email protected]>
Please send the patch to the maintainers and mailing lists
given by scripts/get_maintainers.pl.
ChenYu
> ---
> sound/soc/sunxi/sun4i-spdif.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c
> index 88fbb3a1..8583987c 100644
> --- a/sound/soc/sunxi/sun4i-spdif.c
> +++ b/sound/soc/sunxi/sun4i-spdif.c
> @@ -387,9 +387,9 @@ static const struct regmap_config
> sun4i_spdif_regmap_config = {
>
> #define SUN4I_RATES SNDRV_PCM_RATE_8000_192000
>
> -#define SUN4I_FORMATS (SNDRV_PCM_FORMAT_S16_LE | \
> - SNDRV_PCM_FORMAT_S20_3LE | \
> - SNDRV_PCM_FORMAT_S24_LE)
> +#define SUN4I_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
> + SNDRV_PCM_FMTBIT_S20_3LE | \
> + SNDRV_PCM_FMTBIT_S24_LE)
>
> static struct snd_soc_dai_driver sun4i_spdif_dai = {
> .playback = {
> --
> 2.11.0
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.