ASoC: qcom: lpass-cpu: Remove unnecessary clock checks
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Jan 2017 21:03:36 +0000 (13:03 -0800)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2017 21:01:56 +0000 (21:01 +0000)
commit46dccc3573bc69e13fb5ea3d14dea2e940b3a1a9
treec7c0596a03a4798f1aa58e1316942a6338f91883
parenta5de5b74a50113564a1e0850e2da96c37c35e55d
ASoC: qcom: lpass-cpu: Remove unnecessary clock checks

Clean up the clock calling code by removing numerous IS_ERR() checks by
just assigning the clock NULL; as this turn all used functions in the
clk API to nops.

Also include the word "optional" in the error message when failing to acquire
the optional osr clocks.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c