]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: qcom: move clock names into LPASS variant struct
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 5 Apr 2017 08:34:10 +0000 (10:34 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 21 Apr 2017 17:07:45 +0000 (18:07 +0100)
commit97c52eb969718f0231f197937eb0418e7514aba3
tree6e3d6d9194e38ce59a98e92fd9d3c083bb447cac
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
ASoC: qcom: move clock names into LPASS variant struct

The clock names for the two supported codecs are either
"mi2s-*" name variants generated by code. This naming scheme
does not work for platforms like MSM8660 which has I2S channels
named CODEC_I2S_SPKR (rather than just "MI2S tertiary" and other
repetitive names) and consequently have clocks named
"codec-i2s-spkr-osr-clk" and similar.

Skip the runtime generation of clock names and replace it with
name lookup tables encoded into the variant data.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-apq8016.c
sound/soc/qcom/lpass-cpu.c
sound/soc/qcom/lpass-ipq806x.c
sound/soc/qcom/lpass.h