]> git.baikalelectronics.ru Git - kernel.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)
commitdd24268c57e65c139d6f7c49fec8638fb3a35cf4
tree6e3d6d9194e38ce59a98e92fd9d3c083bb447cac
parent94e2a518d0ac4a168bccd1446b1a1407458c45bd
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