]> 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)
commita21fd30d9f504b048c589b5b5cd7620c41d23f6a
tree6e3d6d9194e38ce59a98e92fd9d3c083bb447cac
parent8a17c7afe9fb246fbdf434a8c4a84cdc5bada8cb
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