ASoC: qcom: lpass-cpu: Use optional clk APIs
authorStephen Boyd <swboyd@chromium.org>
Thu, 20 May 2021 01:48:07 +0000 (18:48 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 21 May 2021 12:12:29 +0000 (13:12 +0100)
commitaf2702549d68519ac78228e915d9b2c199056787
tree756d77b69ef93262dbf0162ba13df75e5f7f33da
parent833bc4cf9754643acc69b3c6b65988ca78df4460
ASoC: qcom: lpass-cpu: Use optional clk APIs

This driver spits out a warning for me at boot:

 sc7180-lpass-cpu 62f00000.lpass: asoc_qcom_lpass_cpu_platform_probe() error getting optional null: -2

but it looks like it is all an optional clk. Use the optional clk APIs
here so that we don't see this message and everything else is the same.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Banajit Goswami <bgoswami@codeaurora.org>
Fixes: 3e53ac8230c1 ("ASoC: qcom: make osr clock optional")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210520014807.3749797-1-swboyd@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c