Skip to content

Commit 44b1c9a

Browse files
shawnguo2broonie
authored andcommitted
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 <[email protected]> Acked-by: Jun Nie <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent de7975c commit 44b1c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/zte/zx-spdif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#define ZX_VALID_RIGHT_TRACK (2 << 0)
7272
#define ZX_VALID_TRACK_MASK (3 << 0)
7373

74-
#define ZX_SPDIF_CLK_RAT (4 * 32)
74+
#define ZX_SPDIF_CLK_RAT (2 * 32)
7575

7676
struct zx_spdif_info {
7777
struct snd_dmaengine_dai_dma_data dma_data;

0 commit comments

Comments
 (0)