]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: omap_udc: fix omap_udc_start() on 15xx machines
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 24 Nov 2018 22:17:06 +0000 (00:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 20:55:11 +0000 (21:55 +0100)
commit09542b329dbf6dc12f3d7590adfe02429791cf49
tree01497dfda756bc4e212c5e2fd56240bc684a7d59
parent39d5919321d360227862a08a0788b205d9335b14
USB: omap_udc: fix omap_udc_start() on 15xx machines

[ Upstream commit 6ca6695f576b8453fe68865e84d25946d63b10ad ]

On OMAP 15xx machines there are no transceivers, and omap_udc_start()
always fails as it forgot to adjust the default return value.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/gadget/udc/omap_udc.c