diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-04-02 09:13:02 -0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-04-26 22:06:05 -0400 |
commit | bc1aabad39f42fa293f2a944fd9327bba27b59cd (patch) | |
tree | f7f4527037d92b73b54e1a4c151c6447aa016761 /scripts/gdb/linux/modules.py | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) |
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions