mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ASoC: rockchip: i2s-tdm: Delay for reset successfully
This patch adds delay for rockchip_snd_reset().
Fixes: 03eca20525 ("ASoC: rockchip: i2s-tdm: Delay for reset successfully")
Change-Id: I59c507dd8d4cc8fe756230e1eaab2ab35b33331a
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
@@ -371,8 +371,11 @@ static void rockchip_snd_reset(struct reset_control *rc)
|
||||
return;
|
||||
|
||||
reset_control_assert(rc);
|
||||
udelay(1);
|
||||
/* delay for reset assert done */
|
||||
udelay(10);
|
||||
reset_control_deassert(rc);
|
||||
/* delay for reset deassert done */
|
||||
udelay(10);
|
||||
}
|
||||
|
||||
static void rockchip_snd_txctrl(struct rk_i2s_tdm_dev *i2s_tdm, int on)
|
||||
|
||||
Reference in New Issue
Block a user