android_kernel_xiaomi_sm8350/arch/powerpc/sysdev
Anatolij Gustschin 7ea6fd7e2d [POWERPC] Fix Oops with TQM5200 on TQM5200
The "bestcomm-core" driver defines its of_match table as follows

static struct of_device_id mpc52xx_bcom_of_match[] = {
	{ .type = "dma-controller", .compatible = "fsl,mpc5200-bestcomm", },
	{ .type = "dma-controller", .compatible = "mpc5200-bestcomm", },
	{},
};

so while registering the driver, the driver's probe function won't be
called, because the device tree node doesn't have a device_type
property.  Thus the driver's bcom_engine structure won't be allocated.
Referencing this structure later causes observed Oops.

Checking bcom_eng pointer for NULL before referencing data pointed
by it prevents oopsing, but fec driver still doesn't work (because
of the lost bestcomm match and resulted task allocation failure).
Actually the compatible property exists and should match and so
the fec driver should work.

This removes .type = "dma-controller" from the bestcomm driver's
mpc52xx_bcom_of_match table to solve the problem.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-03-24 17:55:51 +11:00
..
bestcomm [POWERPC] Fix Oops with TQM5200 on TQM5200 2008-03-24 17:55:51 +11:00
qe_lib [POWERPC] QE: Make qe_get_firmware_info reentrant 2008-03-10 13:07:27 -05:00
axonram.c
cpm1.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm2_pic.c
cpm2_pic.h
cpm2.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
cpm_common.c
dart_iommu.c
dart.h
dcr-low.S
dcr.c [POWERPC] Add missing native dcr dcr_ind_lock spinlock 2008-02-06 21:02:56 -06:00
fsl_pci.c
fsl_pci.h
fsl_rio.c
fsl_rio.h
fsl_soc.c [POWERPC] FSL: fix mpc83xx_spi device registration 2008-02-05 23:38:27 -06:00
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c [POWERPC] Fix crash in init_ipic_sysfs on efika 2008-03-24 17:55:00 +11:00
ipic.h
Kconfig
Makefile [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
micropatch.c [POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c 2008-01-28 08:31:05 -06:00
mmio_nvram.c
mpc8xx_pic.c [POWERPC] arch/powerpc/sysdev: Add missing of_node_put 2008-02-06 22:06:59 +11:00
mpc8xx_pic.h
mpic_msi.c
mpic_pasemi_msi.c [POWERPC] pasemi: Remove warning in mpic_pasemi_msi.c 2008-02-21 21:08:35 +11:00
mpic_u3msi.c
mpic.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
mpic.h
mv64x60_dev.c Merge branch 'linux-2.6' 2008-01-31 11:25:51 +11:00
mv64x60_pci.c
mv64x60_pic.c
mv64x60_udbg.c
mv64x60.h
of_rtc.c
pmi.c
ppc4xx_pci.c
ppc4xx_pci.h
rtc_cmos_setup.c
tsi108_dev.c
tsi108_pci.c
uic.c
xilinx_intc.c