lkml.org 
[lkml]   [2011]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] atmel ac97c: using software reset instead hardware reset if not available
On 11/23/2011 11:05 AM, voice :
> Using software reset instead hardware reset if not available

Ping?
Can you please tell me what is the status of this fix? Will it go
upstream for 3.3?

> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
> sound/atmel/ac97c.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c
> index 6e5adde..73516f6 100644
> --- a/sound/atmel/ac97c.c
> +++ b/sound/atmel/ac97c.c
> @@ -899,6 +899,10 @@ static void atmel_ac97c_reset(struct atmel_ac97c *chip)
> /* AC97 v2.2 specifications says minimum 1 us. */
> udelay(2);
> gpio_set_value(chip->reset_pin, 1);
> + } else {
> + ac97c_writel(chip, MR, AC97C_MR_WRST | AC97C_MR_ENA);
> + udelay(2);
> + ac97c_writel(chip, MR, AC97C_MR_ENA);
> }
> }
>


--
Nicolas Ferre


\
 
 \ /
  Last update: 2011-12-15 14:07    [W:0.147 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site