usb: phy: omap-otg: fix uninitialized pointer
commit 2c2025b4 upstream. otg_dev->extcon was referenced before otg_dev was initialized. Fix. Fixes: a2fd2423 ("usb: phy: omap-otg: Replace deprecated API of extcon") Reviewed-by:Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by:
Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by:
Felipe Balbi <balbi@ti.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment