ASoC: codecs: Make OF supported CODECs visible in Kconfig
authorMark Brown <broonie@linaro.org>
Thu, 23 Jan 2014 12:58:16 +0000 (12:58 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:17:58 +0000 (13:17 +0900)
commit0339bcdf8dc7113c9ad8d07249fe37edbdff9daf
tree336c9a11831cfd7a2f571d3c9c13904c4e29dcd2
parent3f24140ff66ec61af497d4fb6d9bae0d9ebf2aca
ASoC: codecs: Make OF supported CODECs visible in Kconfig

Now that we have a generic card driver we can't rely on the card driver
selecting the CODECs for us so make the CODECs that can be enabled with
OF directly selectable in Kconfig. For the platforms not using OF it's
not clear that we don't still want to have some board specific selection
since the kernel needs to contain code to register the devices; ACPI could
provide this from firmware does not yet support any kind of generic card.

It may also be desirable to hide these if OF is not enabled to reduce
noise.

Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 1291e14175e6b83efe1464f32189acb21bc4be09)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/codecs/Kconfig