* [PATCH] fix patch_ucb1400 for proper resume
@ 2008-07-02 10:19 Mike Rapoport
2008-07-09 8:59 ` Mike Rapoport
0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2008-07-02 10:19 UTC (permalink / raw)
To: alsa-devel
Replace 'snd_ac97_write' with snd_ac97_write_cache' in pacth_ucb1400 to allow
proper codec wakeup.
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 1292dce..b821874 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -3633,7 +3633,7 @@ static int patch_ucb1400(struct snd_ac97 * ac97)
{
ac97->build_ops = &patch_ucb1400_ops;
/* enable headphone driver and smart low power mode by default */
- snd_ac97_write(ac97, 0x6a, 0x0050);
- snd_ac97_write(ac97, 0x6c, 0x0030);
+ snd_ac97_write_cache(ac97, 0x6a, 0x0050);
+ snd_ac97_write_cache(ac97, 0x6c, 0x0030);
return 0;
}
--
Sincerely yours,
Mike.
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] fix patch_ucb1400 for proper resume
2008-07-02 10:19 [PATCH] fix patch_ucb1400 for proper resume Mike Rapoport
@ 2008-07-09 8:59 ` Mike Rapoport
0 siblings, 0 replies; 2+ messages in thread
From: Mike Rapoport @ 2008-07-09 8:59 UTC (permalink / raw)
To: alsa-devel
Any comments on this?
Mike Rapoport wrote:
> Replace 'snd_ac97_write' with snd_ac97_write_cache' in pacth_ucb1400 to allow
> proper codec wakeup.
>
>
> Signed-off-by: Mike Rapoport <mike@compulab.co.il>
>
> diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
> index 1292dce..b821874 100644
> --- a/sound/pci/ac97/ac97_patch.c
> +++ b/sound/pci/ac97/ac97_patch.c
> @@ -3633,7 +3633,7 @@ static int patch_ucb1400(struct snd_ac97 * ac97)
> {
> ac97->build_ops = &patch_ucb1400_ops;
> /* enable headphone driver and smart low power mode by default */
> - snd_ac97_write(ac97, 0x6a, 0x0050);
> - snd_ac97_write(ac97, 0x6c, 0x0030);
> + snd_ac97_write_cache(ac97, 0x6a, 0x0050);
> + snd_ac97_write_cache(ac97, 0x6c, 0x0030);
> return 0;
> }
>
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-09 8:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 10:19 [PATCH] fix patch_ucb1400 for proper resume Mike Rapoport
2008-07-09 8:59 ` Mike Rapoport
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.