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> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| armv7m.c | ||
| boot.c | ||
| collie.c | ||
| exynos4_boards.c | ||
| exynos4210.c | ||
| gumstix.c | ||
| highbank.c | ||
| integratorcp.c | ||
| kzm.c | ||
| mainstone.c | ||
| musicpal.c | ||
| nseries.c | ||
| omap1.c | ||
| omap2.c | ||
| omap_sx1.c | ||
| palm.c | ||
| pic_cpu.c | ||
| pxa2xx.c | ||
| pxa2xx_gpio.c | ||
| pxa2xx_pic.c | ||
| realview.c | ||
| spitz.c | ||
| stellaris.c | ||
| strongarm.c | ||
| strongarm.h | ||
| tosa.c | ||
| versatilepb.c | ||
| vexpress.c | ||
| xilinx_zynq.c | ||
| z2.c | ||