Re: [PATCH 5/9] ASoC: Blackfin: AC97 Blackfin CPU DAI driver

From: Mark Brown
Date: Thu Sep 04 2008 - 08:49:47 EST


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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/