Messages in this thread | | | Date | Thu, 4 Sep 2008 13:49:34 +0100 | From | Mark Brown <> | Subject | Re: [PATCH 5/9] ASoC: Blackfin: AC97 Blackfin CPU DAI driver |
| |
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?
| |