You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user