lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 Dec 2011 10:49:00 +0800
From:	"Shen, Voice" <Voice.Shen@...el.com>
To:	<tiwai@...e.de>
Cc:	<linux-kernel@...r.kernel.org>, <linux-sound@...r.kernel.org>,
	<alsa-devel@...a-project.org>,
	"Egtvedt, Hans-Christian" <Hans-Christian.Egtvedt@...el.com>,
	"Ferre, Nicolas" <Nicolas.FERRE@...el.com>,
	"Lin, JM" <JM.Lin@...el.com>, "Xu, Hong" <Hong.Xu@...el.com>
Subject: FW: [PATCH] atmel ac97c: using software reset instead hardware reset if not available

Hi Sir,
  Add patch to Atmel AC97C.

  Object: using software reset instead hardware reset if not available

Best Regards,
Voice Shen
-----Original Message-----
From: Nicolas Ferre [mailto:nicolas.ferre@...el.com] 
Sent: Thursday, November 24, 2011 18:44 voice
To: Shen, Voice
Cc: linux-kernel@...r.kernel.org; linux-sound@...r.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@...el.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ