]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qcom: common: Parse properties with "qcom," prefix
authorStephan Gerhold <stephan@gerhold.net>
Thu, 23 Jul 2020 18:39:02 +0000 (20:39 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2020 14:01:18 +0000 (15:01 +0100)
commit5976078c59c722caf1f0fdd0d76575fde28ca26d
treee399170cd3d79e0d2ecae88f460c2f78e6364666
parent62e1de0885d2a4ec905e9ced6610582addac64c7
ASoC: qcom: common: Parse properties with "qcom," prefix

The apq8016_sbc device tree binding uses a "qcom," vendor prefix
for all device tree properties, while qcom_snd_parse_of() uses the
same properties without a prefix.

In the future it would be nice to make this consistent, however,
for backwards compatibility we need to parse both names to allow
apq8016_sbc to use the common qcom_snd_parse_of() function.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200723183904.321040-6-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/common.c