[alsa-devel] [PATCHv3 1/2] McBSP: OMAP3: Add sidetone feature

Jarkko Nikula jhnikula at gmail.com
Thu Feb 18 14:24:13 CET 2010


On Thu, 18 Feb 2010 14:37:14 +0200
Ilkka Koskinen <ilkka.koskinen at nokia.com> wrote:

>  static inline void __devexit omap34xx_device_exit(struct omap_mcbsp *mcbsp)
>  {
> -	if (cpu_is_omap34xx())
> +	if (cpu_is_omap34xx()) {
>  		omap_additional_remove(mcbsp->dev);
> +
> +		if (mcbsp->id == 2 || mcbsp->id == 3)
> +			omap_st_remove(mcbsp);
> +	}
>  }

Are you sure about these ids? Same comment to the patch 2 as well.
Worth to check.


-- 
Jarkko


More information about the Alsa-devel mailing list