[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-sound
Subject: Re: [PATCH] atmel ac97c: using software reset instead hardware reset if not available
From: Takashi Iwai <tiwai () suse ! de>
Date: 2011-12-19 10:28:44
Message-ID: s5hfwgglusj.wl%tiwai () suse ! de
[Download RAW message or body]
At Mon, 19 Dec 2011 17:57:52 +0800,
voice wrote:
>
> 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>
Applied now. Thanks.
Takashi
> ---
> 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);
> }
> }
>
> --
> 1.6.3.3
>
--
To unsubscribe from this list: send the line "unsubscribe linux-sound" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic