lkml.org 
[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?


\
 
 \ /
  Last update: 2008-09-04 14:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site