diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-04-02 15:13:02 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-04-27 11:06:05 +0900 |
commit | bc1aabad39f42fa293f2a944fd9327bba27b59cd (patch) | |
tree | f7f4527037d92b73b54e1a4c151c6447aa016761 /tools/perf/scripts/python/compaction-times.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 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions