]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f97edcbbbd5065bbcae397ef502e1db82641706
tree77626685b580c77669c4e11e2af6ae9a403f1e32
parent983167cb44db3089141f6087e778fed0519b7bef
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