]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: phy: omap-otg: fix uninitialized pointer
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 27 Oct 2015 21:26:33 +0000 (23:26 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 16 Nov 2015 16:17:40 +0000 (10:17 -0600)
commit2c2025b41aeff57963f9ae2dd909fea704c625ab
tree5404703d8005cffcc683d8a2171ecec40fe0dad6
parent705e63d2b29c8bbf091119084544d353bda70393
usb: phy: omap-otg: fix uninitialized pointer

otg_dev->extcon was referenced before otg_dev was initialized. Fix.

Cc: <stable@vger.kernel.org> # v4.3
Fixes: a2fd2423240f ("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>
drivers/usb/phy/phy-omap-otg.c