summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2016-12-08 16:44:15 +0800
committerMark Brown <broonie@kernel.org>2016-12-08 16:09:44 +0000
commit44b1c9a6e7a2692e761e35ada2ffe84b20c2a377 (patch)
tree1d0d4874b7411a66d508b9345ba7cb8ce2a60f60 /sound/soc
parentde7975c2a42de889e2b3fd2f7d46f899ad8ccd45 (diff)
downloadlinux-stable-44b1c9a6e7a2692e761e35ada2ffe84b20c2a377.tar.gz
linux-stable-44b1c9a6e7a2692e761e35ada2ffe84b20c2a377.tar.bz2
linux-stable-44b1c9a6e7a2692e761e35ada2ffe84b20c2a377.zip
ASoC: zte: spdif: correct ZX_SPDIF_CLK_RAT define
The macro ZX_SPDIF_CLK_RAT should be 2 instead of 4. With this fix, we can get correct audio output on HDMI through SPDIF interface. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Jun Nie <jun.nie@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/zte/zx-spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/zte/zx-spdif.c b/sound/soc/zte/zx-spdif.c
index 26265ce4caca..9fa6463ce5d7 100644
--- a/sound/soc/zte/zx-spdif.c
+++ b/sound/soc/zte/zx-spdif.c
@@ -71,7 +71,7 @@
#define ZX_VALID_RIGHT_TRACK (2 << 0)
#define ZX_VALID_TRACK_MASK (3 << 0)
-#define ZX_SPDIF_CLK_RAT (4 * 32)
+#define ZX_SPDIF_CLK_RAT (2 * 32)
struct zx_spdif_info {
struct snd_dmaengine_dai_dma_data dma_data;