ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_txctrl
authorSonny Rao <sonnyrao@chromium.org>
Wed, 8 Oct 2014 07:58:51 +0000 (00:58 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 8 Oct 2014 11:29:38 +0000 (12:29 +0100)
commit528a82b41fda78435976c905546c3329c86bb264
tree77626685b580c77669c4e11e2af6ae9a403f1e32
parenta5448c88b812390a3622e76d774e10c0da1fb970
ASoC: rockchip-i2s: fix infinite loop in rockchip_snd_txctrl

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: Sonny Rao <sonnyrao@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c