Commit 27285d92 authored by Ivan T. Ivanov's avatar Ivan T. Ivanov Committed by Srinivas Kandagatla
Browse files

usb: phy: msm: Unregister VBUS and ID events notifiers



Right now even if driver failed to probe extcon framework will
still deliver its VBUS and ID events, which will lead to random
exception codes.

Fix this by removing VBUS and ID events notifiers when probe fail.

Fixes: 591fc116 ("usb: phy: msm: Use extcon framework for VBUS and ID detection")

Reported-by: default avatarTim Bird <tim.bird@sonymobile.com>
Signed-off-by: default avatarIvan T. Ivanov <ivan.ivanov@linaro.org>
parent 475b117f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment