xemu/hw/arm
Andreas Färber be2f78b6b0 pxa2xx: Avoid object_get_link_property() assertion for "parent_bus"
pxa2xx_i2c_init() creates a pxa2xx-i2c-slave device on a second i2c-bus,
which has a NULL parent device. This causes an assertion in
object_get_canonical_path() when accessing pxa2xx-i2c-slave's
"parent_bus" link<bus> property in tosa and likely other PXA2xx machines.

Fix this by using the pxa2xx_i2c device, created just before, as parent.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375621501-5564-1-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-08-05 11:46:58 -05:00
..
armv7m.c armv7m: QOM cast cleanup for BitBandState 2013-07-29 21:06:06 +02:00
boot.c hw/arm: Use 'load_ramdisk()' for loading ramdisks w/ U-Boot header 2013-07-22 12:01:37 +01:00
collie.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
exynos4_boards.c cpu: Make first_cpu and next_cpu CPUState 2013-07-09 21:32:54 +02:00
exynos4210.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
gumstix.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
highbank.c highbank: QOM cast cleanup for HighbankRegsState 2013-07-29 21:06:18 +02:00
integratorcp.c integratorcp: QOM cast cleanup for icp_pic_state 2013-07-29 21:06:18 +02:00
kzm.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
mainstone.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
Makefile.objs hw: move last file to hw/arm/ 2013-04-08 18:13:16 +02:00
musicpal.c musicpal: QOM cast cleanup for musicpal_key_state 2013-07-29 21:06:26 +02:00
nseries.c Remove unneeded type casts 2013-04-19 11:36:33 +02:00
omap1.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
omap2.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
omap_sx1.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
palm.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
pic_cpu.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00
pxa2xx_gpio.c pxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfo 2013-07-29 21:06:26 +02:00
pxa2xx_pic.c pxa2xx_pic: QOM cast cleanup for PXA2xxPICState 2013-07-29 21:06:26 +02:00
pxa2xx.c pxa2xx: Avoid object_get_link_property() assertion for "parent_bus" 2013-08-05 11:46:58 -05:00
realview.c cpu: Make first_cpu and next_cpu CPUState 2013-07-09 21:32:54 +02:00
spitz.c spitz: QOM cast cleanup for SpitzKeyboardState 2013-07-29 21:06:26 +02:00
stellaris.c stellaris: QOM cast cleanup for stellaris_adc_state 2013-07-29 21:06:27 +02:00
strongarm.c strongarm: QOM cast cleanup for StrongARMSSPState 2013-07-29 21:06:27 +02:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tosa.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
versatilepb.c versatilepb: QOM cast cleanup for vpb_sic_state 2013-07-29 21:06:27 +02:00
vexpress.c vexpress: Add virtio-mmio transports 2013-07-19 12:58:47 +01:00
xilinx_zynq.c cpu: Make first_cpu and next_cpu CPUState 2013-07-09 21:32:54 +02:00
z2.c arm: fix location of some include files 2013-04-15 15:16:01 +02:00