aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/rockchip/rockchip_i2s.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/rockchip/rockchip_i2s.c')
-rw-r--r--sound/soc/rockchip/rockchip_i2s.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c
index 033487c9a164..f373e37f8305 100644
--- a/sound/soc/rockchip/rockchip_i2s.c
+++ b/sound/soc/rockchip/rockchip_i2s.c
@@ -108,8 +108,10 @@ static void rockchip_snd_txctrl(struct rk_i2s_dev *i2s, int on)
108 while (val) { 108 while (val) {
109 regmap_read(i2s->regmap, I2S_CLR, &val); 109 regmap_read(i2s->regmap, I2S_CLR, &val);
110 retry--; 110 retry--;
111 if (!retry) 111 if (!retry) {
112 dev_warn(i2s->dev, "fail to clear\n"); 112 dev_warn(i2s->dev, "fail to clear\n");
113 break;
114 }
113 } 115 }
114 } 116 }
115 } 117 }