mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
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 <[email protected]> Acked-by: Roger Quadros <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>