]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR
authorJudy Hsiao <judyhsiao@chromium.org>
Fri, 1 Jul 2022 02:14:27 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jul 2022 18:53:53 +0000 (19:53 +0100)
commitc363367c1aa7d7407a3ee79e61bd83f61fcd7775
treeec853cbc7d54af4f3f76a798daaf72620a7ecb62
parent13073cf6b850e6c381e0c11d6be5c6db8218bffc
ASoC: rockchip: i2s: Fix error code when fail to read I2S_CLR

Add the error code '-EBUSY' when fail to read I2S_CLR
in rockchip_snd_rxctrl() and rockchip_snd_txctrl()

Fixes: c45e559c1fca ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao <judyhsiao@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20220701021427.3120549-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c