]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: spdif: Set transmit data level to 16 samples
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 11 Dec 2015 08:45:33 +0000 (09:45 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:23:26 +0000 (22:23 +0000)
commit00767b3daabaac4790913b93de8c5afd472d90f2
tree153561757eec41ace0f42e733ed1576aafe37330
parent837e0eb1c9d194f0eb3cf87d97b2235de146c9fe
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>
sound/soc/rockchip/rockchip_spdif.c
sound/soc/rockchip/rockchip_spdif.h