[alsa-devel] [PATCH 5/9] ASoC: Blackfin: AC97 Blackfin CPU DAI driver

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Sep 4 14:49:34 CEST 2008


On Thu, Sep 04, 2008 at 04:22:04PM +0800, Bryan Wu wrote:

> +static void bf5xx_ac97_cold_reset(struct snd_ac97 *ac97)
> +{
> +#ifdef CONFIG_SND_BF5XX_HAVE_COLD_RESET
> +	pr_debug("%s enter\n", __func__);
> +
> +	/* It is specified for bf548-ezkit */
> +	gpio_set_value(CONFIG_SND_BF5XX_RESET_GPIO_NUM, 0);
> +	/* Keep reset pin low for 1 ms */
> +	mdelay(1);
> +	gpio_set_value(CONFIG_SND_BF5XX_RESET_GPIO_NUM, 1);
> +	/* Wait for bit clock recover */
> +	mdelay(1);
> +#endif
> +}

Sorry, I did mean to say: shouldn't this print a warning like the warm
reset does if it's not implemented?


More information about the Alsa-devel mailing list