ASoC: sun8i-codec: Correct DAPM widget types
authorSamuel Holland <samuel@sholland.org>
Thu, 1 Oct 2020 02:11:28 +0000 (21:11 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 13:16:18 +0000 (14:16 +0100)
commitfc5668f62d089ba69b343f0e80146f5a3bc6fa71
treebd1597b894646501f7478de6f13161d8b4a822ce
parent7b51f3c7029fab706e7d9ac99f67cbcf8f29beca
ASoC: sun8i-codec: Correct DAPM widget types

Whie the aif_in and aif_out widget types are handled exactly the same in
the core DAPM code, a future widget event hook will need the correct
widget type to derive the associated substream. Clean up the widget type
for that reason, and so these widgets will match newly-added widgets for
the other AIFs.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201001021148.15852-6-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c