All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH 1/6] audio: set top level latch for each slot
@ 2014-03-23  9:28 ` Prasad Joshi
  0 siblings, 0 replies; 42+ 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, 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] 42+ messages in thread

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

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

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.