[alsa-devel] [PATCH] pxa2xx-lib: support building for several pxa's

Russ Dill Russ.Dill at gmail.com
Wed Jul 30 19:08:19 CEST 2008


[...]

(in pxa2xx_ac97_hw_resume)
> +		pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD);
>  #ifdef CONFIG_PXA27x
> -	/* Use GPIO 113 as AC97 Reset on Bulverde */
> -	pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
> +		/* Use GPIO 113 as AC97 Reset on Bulverde */
> +		pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
>  #endif

forgot a cpu_is_pxa27x()

[...]

(in pxa2xx_ac97_hw_probe
> -		goto err_irq;
> +		/* Use GPIO 113 as AC97 Reset on Bulverde */
> +		pxa_gpio_mode(113 | GPIO_ALT_FN_2_OUT);
> +#endif

another one





More information about the Alsa-devel mailing list