]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Allow codec_conf DT lookups to match parent of_node
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 27 Apr 2018 12:54:36 +0000 (13:54 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 27 Apr 2018 18:23:59 +0000 (19:23 +0100)
commit4c75e53215d7b49d6246cb984a26e8767b71e4b8
tree09cc794c74d679cf90f323e9292fc257f370443e
parent4c9b4d21268117e01c0db02d983eb44e36464f34
ASoC: core: Allow codec_conf DT lookups to match parent of_node

For devices implemented as a MFD it is common to only have a single node
in devicetree representing the whole device. As such when looking up
codec_conf mappings we should match against both the devices of_node and
the devices parent's of_node, as is already done for DAIs and platform
components.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c