diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-12-11 09:45:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-12 23:23:26 +0100 |
commit | 5042f936c6810d0e7153cc9e1794c6998590a930 (patch) | |
tree | 153561757eec41ace0f42e733ed1576aafe37330 /sound/soc/rockchip/rockchip_spdif.h | |
parent | Linux 4.4-rc1 (diff) | |
download | linux-5042f936c6810d0e7153cc9e1794c6998590a930.tar.xz linux-5042f936c6810d0e7153cc9e1794c6998590a930.zip |
ASoC: rockchip: spdif: Set transmit data level to 16 samples
Explicitly set the transmit data level on the transceiver to 16 samples
rather then the default 0. This matches both the level set in the vendor
kernel and the (seemingly very similar) i2s engine. This fixes audio
glitches when playing back at 192k rate.
At the same time, fix a trivial typo in the TDL mask definition
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_spdif.h')
-rw-r--r-- | sound/soc/rockchip/rockchip_spdif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_spdif.h b/sound/soc/rockchip/rockchip_spdif.h index 07f86a21046a..9c24dbccf7ee 100644 --- a/sound/soc/rockchip/rockchip_spdif.h +++ b/sound/soc/rockchip/rockchip_spdif.h @@ -42,7 +42,7 @@ #define SPDIF_DMACR_TDL_SHIFT 0 #define SPDIF_DMACR_TDL(x) ((x) << SPDIF_DMACR_TDL_SHIFT) -#define SPDIF_DMACR_TDL_MASK (0x1f << SDPIF_DMACR_TDL_SHIFT) +#define SPDIF_DMACR_TDL_MASK (0x1f << SPDIF_DMACR_TDL_SHIFT) /* * XFER |