ASoC: codecs: rx-macro: move to individual clks from bulk
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 24 Feb 2022 11:17:06 +0000 (11:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:29 +0000 (09:39 +0100)
commitb1c7f77e28317bb00728825fa9c11d5680e4b2af
tree46722f3afc53193652b504a63a6cf0b504afb302
parent05fd63e7f640483f33c7b6b0dfa6ba82d728664f
ASoC: codecs: rx-macro: move to individual clks from bulk

[ Upstream commit 43b647d9940454263421f9a1c756680bdf1d443c ]

Using bulk clocks and referencing them individually using array index is
not great for readers.
So move them to individual clocks handling and also remove some unnecessary
error handling in the code.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220224111718.6264-5-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: e7621434378c ("ASoC: codecs: lpass: fix incorrect mclk rate")
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/lpass-rx-macro.c