Skip to content

Commit

Permalink
ASoC: zte: spdif: correct ZX_SPDIF_CLK_RAT define
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shawnguo2 authored and broonie committed Dec 8, 2016
1 parent de7975c commit 44b1c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/zte/zx-spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 44b1c9a

Please sign in to comment.