Skip to content

Commit d563d38

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
ASoC: rockchip: i2s-tdm: Fix configs init failed
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: I25b4971a1e7b0c7a740f195791238d5e74d4cc9c
1 parent 61baefb commit d563d38

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/rockchip/rockchip_i2s_tdm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,10 +1185,10 @@ static int common_soc_init(struct device *dev, u32 addr)
11851185
val = configs[i].txonly;
11861186
else
11871187
val = configs[i].rxonly;
1188-
}
11891188

1190-
if (reg)
1191-
regmap_write(i2s_tdm->grf, reg, val);
1189+
if (reg)
1190+
regmap_write(i2s_tdm->grf, reg, val);
1191+
}
11921192

11931193
return 0;
11941194
}

0 commit comments

Comments
 (0)