ASoC: sun4i-codec: Remove the routing property
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 7 Oct 2015 10:59:58 +0000 (11:59 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 11:13:42 +0000 (12:13 +0100)
commitc570b82c5e6ac78be35b4e72594c0f1b1888fce1
tree1926c4a0bba4931fbaa236ded52173e19e41f573
parentdebb97248741597fa9f38f563f2b9a17250ee4c5
ASoC: sun4i-codec: Remove the routing property

Most of the boards have their headphone jack directly connected to the
matching pins of the SoCs. Since most of the time we will have the same
routing path, it makes no sense to put that in the DTS, since it will only
be some useless duplication there.

It also fixes the following warning messages that were seen so far, on
boards where we were using the bindings in the documentation example.

sun4i-codec 1c22c00.codec: ASoC: no sink widget found for Headphone Jack
sun4i-codec 1c22c00.codec: ASoC: Failed to add route HP Left -> direct -> Headphone Jack
sun4i-codec 1c22c00.codec: ASoC: no sink widget found for Headphone Jack
sun4i-codec 1c22c00.codec: ASoC: Failed to add route HP Right -> direct -> Headphone Jack

Reported-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/sun4i-codec.txt
sound/soc/sunxi/sun4i-codec.c