aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/lpass-va-macro.c
diff options
context:
space:
mode:
authorSrinivasa Rao Mandadapu <[email protected]>2021-10-26 07:43:08 +0000
committerMark Brown <[email protected]>2021-10-26 11:35:21 +0000
commit9f589cf0f91485c8591775acad056c80378a2d34 (patch)
treef14e49af5d3f1b30c7939adc22d7462e393beae8 /sound/soc/codecs/lpass-va-macro.c
parentASoC: codecs: tx-macro: Update tx default values (diff)
downloadkernel-9f589cf0f91485c8591775acad056c80378a2d34.tar.gz
kernel-9f589cf0f91485c8591775acad056c80378a2d34.zip
ASoC: codecs: Change bulk clock voting to optional voting in digital codecs
Change bulk clock frequency voting to optional bulk voting in va, rx and tx macros to accommodate both ADSP and ADSP bypass based lpass architectures. Signed-off-by: Srinivasa Rao Mandadapu <[email protected]> Co-developed-by: Venkata Prasad Potturu <[email protected]> Signed-off-by: Venkata Prasad Potturu <[email protected]> Reviewed-by: Srinivas Kandagatla <[email protected]> Tested-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'sound/soc/codecs/lpass-va-macro.c')
-rw-r--r--sound/soc/codecs/lpass-va-macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/lpass-va-macro.c b/sound/soc/codecs/lpass-va-macro.c
index 70f09b48bc2c..11147e35689b 100644
--- a/sound/soc/codecs/lpass-va-macro.c
+++ b/sound/soc/codecs/lpass-va-macro.c
@@ -1408,7 +1408,7 @@ static int va_macro_probe(struct platform_device *pdev)
va->clks[1].id = "dcodec";
va->clks[2].id = "mclk";
- ret = devm_clk_bulk_get(dev, VA_NUM_CLKS_MAX, va->clks);
+ ret = devm_clk_bulk_get_optional(dev, VA_NUM_CLKS_MAX, va->clks);
if (ret) {
dev_err(dev, "Error getting VA Clocks (%d)\n", ret);
return ret;