diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2014-06-16 03:56:42 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-17 18:36:54 +0400 |
commit | c7dfeed10928f00f8c99ad3b58a4f4c5cfd7c581 (patch) | |
tree | d8b90a5876043f64f634ffdac3a093f9b7d6c2a5 /sound/soc/fsl/fsl_spdif.h | |
parent | f3a30baa2876f910cbfb15b9a7442bacd8437e9d (diff) | |
download | linux-c7dfeed10928f00f8c99ad3b58a4f4c5cfd7c581.tar.xz |
ASoC: fsl_spdif: Add support for output sample rates 96kHz and 192kHz
Add support for the output sample rates 96kHz and 192kHz.
Tested with a Cubox-i imx6 system and an Onkyo TX-SR607 receiver.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/fsl_spdif.h')
-rw-r--r-- | sound/soc/fsl/fsl_spdif.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_spdif.h b/sound/soc/fsl/fsl_spdif.h index b13e30ea1c9e..00bd3514c610 100644 --- a/sound/soc/fsl/fsl_spdif.h +++ b/sound/soc/fsl/fsl_spdif.h @@ -166,8 +166,10 @@ enum spdif_txrate { SPDIF_TXRATE_32000 = 0, SPDIF_TXRATE_44100, SPDIF_TXRATE_48000, + SPDIF_TXRATE_96000, + SPDIF_TXRATE_192000, }; -#define SPDIF_TXRATE_MAX (SPDIF_TXRATE_48000 + 1) +#define SPDIF_TXRATE_MAX (SPDIF_TXRATE_192000 + 1) #define SPDIF_CSTATUS_BYTE 6 @@ -177,7 +179,9 @@ enum spdif_txrate { #define FSL_SPDIF_RATES_PLAYBACK (SNDRV_PCM_RATE_32000 | \ SNDRV_PCM_RATE_44100 | \ - SNDRV_PCM_RATE_48000) + SNDRV_PCM_RATE_48000 | \ + SNDRV_PCM_RATE_96000 | \ + SNDRV_PCM_RATE_192000) #define FSL_SPDIF_RATES_CAPTURE (SNDRV_PCM_RATE_16000 | \ SNDRV_PCM_RATE_32000 | \ |