lkml.org 
[lkml]   [2011]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: FW: [PATCH] atmel ac97c: using software reset instead hardware reset if not available
At Mon, 19 Dec 2011 10:49:00 +0800,
Shen, Voice wrote:
>
> Hi Sir,
> Add patch to Atmel AC97C.
>
> Object: using software reset instead hardware reset if not available

Could you repost with the patch so that it can be applied directly via
git-am? I seem to have missed the original post during my traveling.
You can put the acked-by tag by Nicolas there, too.


thanks,

Takashi


> Best Regards,
> Voice Shen
> -----Original Message-----
> From: Nicolas Ferre [mailto:nicolas.ferre@atmel.com]
> Sent: Thursday, November 24, 2011 18:44 voice
> To: Shen, Voice
> Cc: linux-kernel@vger.kernel.org; linux-sound@vger.kernel.org; Lin, JM;
> Xu, Hong
> Subject: Re: [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
> >
> > Signed-off-by: Bo Shen <voice.shen@atmel.com>
>
> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
>
> You may need to sent it to the sound subsystem mailing-list and
> maintainers.
>
> Anyway, I let you follow this patch... As it is a fixup and will benefit
> to existing platforms, I think that it can make its way to mainline
> during 3.2 phase.
>
> Best regards,
>
> > ---
> > 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-19 10:45    [from the cache]
©2003-2011 Jasper Spaans