ASoC: rockchip: i2s: Fix the max register

Fix the get_fifo_count always return zero.

Fixes: 336c6579db ("ASoC: rockchip: i2s: Add support for DLP")
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I221c2ccfb9f88e6bc1c0f28b53f5f10906d3d397
This commit is contained in:
Sugar Zhang
2024-08-20 09:20:32 +08:00
committed by Tao Huang
parent da6d7ef34d
commit 724daf925a

View File

@@ -970,7 +970,7 @@ static const struct regmap_config rockchip_i2s_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
.max_register = I2S_RXDR,
.max_register = I2S_RXFIFOLR,
.reg_defaults = rockchip_i2s_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(rockchip_i2s_reg_defaults),
.writeable_reg = rockchip_i2s_wr_reg,