[PATCH] [UBUNTU:sound/pci/emu10k1/] Fix reversed argument list in snd_emu10k1_resume_regs()
crimsun at fungus.sh.nu
crimsun at fungus.sh.nu
Sun Oct 8 01:58:18 UTC 2006
From 7f31b57775f8413b1f9d57f398e74a6614de7939 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Sat, 7 Oct 2006 20:59:12 -0400
Subject: [PATCH] [UBUNTU:sound/pci/emu10k1/] Fix reversed argument list in snd_emu10k1_resume_regs()
UpstreamStatus: Added in upstream alsa-kernel hg changeset:
08f5756903d2 [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=08f5756903d2c82d7396a7f69221cebded4af1da;style=raw]
This commit fixes a reversed argument list occurring on suspend and
resume.
This commit is applicable to both Dapper and Edgy linux-source.
Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
sound/pci/emu10k1/emu10k1_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index 2ef6f01..2b92fc7 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -1248,8 +1248,8 @@ void snd_emu10k1_resume_regs(emu10k1_t *
/* resore for spdif */
if (emu->audigy)
- outl(emu->port + A_IOCFG, emu->saved_a_iocfg);
- outl(emu->port + HCFG, emu->saved_hcfg);
+ outl(emu->saved_a_iocfg, emu->port + A_IOCFG);
+ outl(emu->saved_hcfg, emu->port + HCFG);
val = emu->saved_ptr;
for (reg = saved_regs; *reg != 0xff; reg++)
--
1.4.1
--
Daniel T. Chen crimsun at ubuntu.com
GPG key: 0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20061007/cfb3f52d/attachment.sig>
More information about the kernel-team
mailing list