ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_rxctrl
authorJianqun <jay.xu@rock-chips.com>
Wed, 29 Oct 2014 09:45:51 +0000 (17:45 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 29 Oct 2014 10:17:25 +0000 (10:17 +0000)
commit29f95bd76f6ec1eff88eec6a04191104a11a7f97
tree0e4990a6e4049148dac4ceff0ab63341128829c2
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_rxctrl

We can get into an infinite loop if the I2S_CLR register fails to
clear due to a missing break statement, so add that.

Signed-off-by: Jianqun <jay.xu@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/rockchip/rockchip_i2s.c