linux_old1/drivers/extcon
Robert Baldyga bc1aabad39 extcon: usb-gpio: register extcon device before IRQ registration
IRQ handler touches info->edev, so if interrupt occurs before extcon
device initialization it can cause NULL pointer dereference. Doing extcon
initialization before IRQ handler registration fixes this problem.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2015-04-27 11:06:05 +09:00
..
Kconfig extcon: max77843: Add max77843 MUIC driver 2015-02-24 09:00:54 +09:00
Makefile extcon: Rename extcon core driver 2015-03-07 22:58:10 +09:00
extcon-adc-jack.c extcon: adc-jack: Release IIO channel on driver remove 2015-01-26 13:47:55 +09:00
extcon-arizona.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
extcon-gpio.c extcon: drop owner assignment from platform_drivers 2014-10-20 16:20:30 +02:00
extcon-max8997.c extcon: Fix the checkpatch warning 2015-03-07 22:58:28 +09:00
extcon-max14577.c extcon: Fix the checkpatch warning 2015-03-07 22:58:28 +09:00
extcon-max77693.c extcon: Fix the checkpatch warning 2015-03-07 22:58:28 +09:00
extcon-max77843.c extcon: max77843: Fix an error code in max77843_init_muic_regmap() 2015-03-23 10:50:27 +09:00
extcon-palmas.c extcon: drop owner assignment from platform_drivers 2014-10-20 16:20:30 +02:00
extcon-rt8973a.c extcon: Fix the checkpatch warning 2015-03-07 22:58:28 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Fix the checkpatch warning 2015-03-07 22:58:28 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
extcon-usb-gpio.c extcon: usb-gpio: register extcon device before IRQ registration 2015-04-27 11:06:05 +09:00
extcon.c extcon: Fix missing locking when [un]registering notifiers 2015-03-23 11:06:04 +09:00