ASoC: rockchip: i2s: fix error defination of transmit data level
authorJianqun Xu <jay.xu@rock-chips.com>
Wed, 24 Dec 2014 09:37:00 +0000 (17:37 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 24 Dec 2014 12:42:55 +0000 (12:42 +0000)
commit4db9c4a9b27f2b3c7df0d75b16078322447dc87a
treebacf780726818f99923570284247cb4ba1f69fa3
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: rockchip: i2s: fix error defination of transmit data level

According to description about "Transmit Data Level",

This bit field controls the level at which a DMA request
is made by the transmit logic.

It is equal to the watermark level.

That is, the dma_tx_req signal is generated when the number
of valid data entries in the TXFIFO
(TXFIFO0 if CSR=00
 TXFIFO1 if CSR=01
 TXFIFO2 if CSR=10
 TXFIFO3 if CSR=11)
is equal to or below this field value.

Different to receive data level, transmit data level does not need
to "-1".

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.h