r2983 - trunk/src/host/qemu-neo1973/hw

andrew at sita.openmoko.org andrew at sita.openmoko.org
Mon Sep 17 19:36:10 CEST 2007


Author: andrew
Date: 2007-09-17 19:36:09 +0200 (Mon, 17 Sep 2007)
New Revision: 2983

Modified:
   trunk/src/host/qemu-neo1973/hw/usb-hid.c
Log:
Pass correct pointer to HID keyboard event handler, fixes regression from IDLE mode introduction.


Modified: trunk/src/host/qemu-neo1973/hw/usb-hid.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/usb-hid.c	2007-09-17 15:55:56 UTC (rev 2982)
+++ trunk/src/host/qemu-neo1973/hw/usb-hid.c	2007-09-17 17:36:09 UTC (rev 2983)
@@ -582,7 +582,7 @@
 {
     USBHIDState *s = (USBHIDState *)dev;
 
-    qemu_add_kbd_event_handler(usb_keyboard_event, &s->kbd);
+    qemu_add_kbd_event_handler(usb_keyboard_event, s);
     s->protocol = 1;
 }
 





More information about the commitlog mailing list