qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/6] audio: set top level latch for each slot
@ 2014-03-23  9:28 Prasad Joshi
  2014-03-23  9:28 ` [Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function Prasad Joshi
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Prasad Joshi @ 2014-03-23  9:28 UTC (permalink / raw)
  To: prasadjoshi.linux
  Cc: peter.maydell, stefanha, v.maffione, aik, jan.kiszka, riku.voipio,
	agraf, chouteau, qemu-devel, qemu-trivial, av1474, kraxel,
	aliguori, pbonzini, g.lettieri, alex, rizzo, afaerber

CSMKeyControll function is supposed to set the top level latch for each
slot. However, at the moment, it incorrectly updates only the first
slot. Patch fixes the problem.

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
---
 hw/audio/fmopl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index 290a224..eb60c12 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -725,7 +725,7 @@ INLINE void CSMKeyControll(OPL_CH *CH)
 	OPL_KEYOFF(slot2);
 	/* total level latch */
 	slot1->TLL = slot1->TL + (CH->ksl_base>>slot1->ksl);
-	slot1->TLL = slot1->TL + (CH->ksl_base>>slot1->ksl);
+	slot2->TLL = slot2->TL + (CH->ksl_base>>slot2->ksl);
 	/* key on */
 	CH->op1_out[0] = CH->op1_out[1] = 0;
 	OPL_KEYON(slot1);
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2014-04-02 11:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-23  9:28 [Qemu-devel] [PATCH 1/6] audio: set top level latch for each slot Prasad Joshi
2014-03-23  9:28 ` [Qemu-devel] [PATCH 2/6] intc/openpic_kvm: fix MemListener delete regiion callback function Prasad Joshi
2014-03-24 14:25   ` Andreas Färber
2014-04-02  8:54     ` Alexander Graf
2014-04-02 10:53       ` Andreas Färber
2014-04-02 11:32         ` Alexander Graf
2014-03-23  9:28 ` [Qemu-devel] [PATCH 3/6] pcnet: remove duplicate assignment Prasad Joshi
2014-03-24 13:18   ` Stefan Hajnoczi
2014-03-25 12:32   ` Stefan Hajnoczi
2014-03-23  9:28 ` [Qemu-devel] [PATCH 4/6] hw/timer/grlib_gptimer: remove unnecessary assignment Prasad Joshi
2014-03-27  5:16   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-03-23  9:28 ` [Qemu-devel] [PATCH 5/6] linux-user: remove duplicate statement Prasad Joshi
2014-03-24  8:57   ` Riku Voipio
2014-03-27  5:17   ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-03-23  9:28 ` [Qemu-devel] [PATCH 6/6] net: netmap_poll must update both read/write poll state Prasad Joshi
2014-03-24 13:18   ` Stefan Hajnoczi
2014-03-25 12:31   ` Stefan Hajnoczi
2014-03-24 13:19 ` [Qemu-devel] [PATCH 1/6] audio: set top level latch for each slot Stefan Hajnoczi
2014-03-24 13:22   ` Peter Maydell
2014-03-24 14:17     ` Andreas Färber
2014-03-25  9:00     ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).