android_kernel_xiaomi_sm8350/drivers/of
Wolfram Sang 11d579ee0a powerpc/mpc5200: Fix wrong 'no interrupt' handling in of_i2c
If an I2C device node does not specify an interrupt, the .irq member of the
board_info struct was set to -1. This caused crashes on following
irq_dispose_mappings. Leave it NO_IRQ as returned from irq_of_parse_and_map.
(Suggesting -1 as 'i2c-no-irq' used to be a bug in linux/i2c.h.)

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2008-07-22 01:13:04 -06:00
..
base.c [POWERPC] Add null pointer check to of_find_property 2008-05-15 20:49:49 +10:00
device.c [POWERPC] Move of_device_get_modalias to drivers/of 2008-05-16 23:22:28 +10:00
gpio.c [POWERPC] of/gpio: Use dynamic base allocation 2008-05-23 15:27:19 +10:00
Kconfig
Makefile
of_i2c.c powerpc/mpc5200: Fix wrong 'no interrupt' handling in of_i2c 2008-07-22 01:13:04 -06:00
platform.c