[alsa-devel] [PATCH v2 8/9] OMAP4: omap4panda: Enable audio support
Mark Brown
broonie at opensource.wolfsonmicro.com
Thu Dec 22 14:24:27 CET 2011
On Thu, Dec 22, 2011 at 02:42:47PM +0200, Peter Ujfalusi wrote:
> +static void omap4_panda_audio_init(void)
> +{
> + if (cpu_is_omap4430()) {
> + /* PandaBoard 4430 */
> + panda_abe_audio_data.card_name = "PandaBoard";
> + /* Audio in is connected to HSMIC */
> + panda_abe_audio_data.has_hsmic = 1;
> + } else {
> + /* PandaBoard ES */
> + panda_abe_audio_data.card_name = "PandaBoardES";
Is audio the only difference between the two boards? If there's more
stuff it might be more sensible to have a single place which decides
what the differences are rather than scattering it in various places.
More information about the Alsa-devel
mailing list