Re: [PATCH v2 2/7] ASoC: qcom: Add common array to initialize soc based core clocks

From: Ajit Pandey
Date: Sat May 16 2020 - 14:06:52 EST


On 5/14/2020 10:15 PM, Mark Brown wrote:
On Thu, May 14, 2020 at 10:08:14PM +0530, Ajit Pandey wrote:
AHB-I/X bus clocks inside LPASS coreis not a mandatory clocks for
SC7180 soc lpass variants, hence make it an optional one.
Do we need to improve the checks in the rest of the code so that if the
clock is missing on a SoC where it is actually mandatory we don't end up
trying to start without it? Perhaps it's more trouble than it's worth
though.
Agreed.. adding a case check with soc id or name definately make sense to avoid issue with soc where it's  a mandatory one, I'll also look if this "ahbix-clk" can also be moved with other soc-based clocks array ? and can be enabled in soc specific driver.