projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e06f9
)
musicpal: Drop redundant reset call
author
Jan Kiszka
<jan.kiszka@web.de>
Thu, 13 May 2010 13:09:58 +0000
(15:09 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 28 May 2010 19:48:47 +0000
(21:48 +0200)
Reset is now triggered after init, no need for explicit calls anymore.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/musicpal.c
patch
|
blob
|
history
diff --git
a/hw/musicpal.c
b/hw/musicpal.c
index ebd933e2f5cee638dadfd0898b826718c6371ce5..d44c5a0d4418a72c7a7d28a9e994b04b01791c04 100644
(file)
--- a/
hw/musicpal.c
+++ b/
hw/musicpal.c
@@
-1295,8
+1295,6
@@
static int musicpal_gpio_init(SysBusDevice *dev)
musicpal_gpio_writefn, s);
sysbus_init_mmio(dev, MP_GPIO_SIZE, iomemtype);
- musicpal_gpio_reset(&dev->qdev);
-
qdev_init_gpio_out(&dev->qdev, s->out, ARRAY_SIZE(s->out));
qdev_init_gpio_in(&dev->qdev, musicpal_gpio_pin_event, 32);