USB: omap_udc: fix omap_udc_start() on 15xx machines
commit634395d20d7d1263fb702b9f89deb10c5a41b975
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 24 Nov 2018 22:17:06 +0000 (25 00:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:35 +0000 (17 09:24 +0100)
treeae2a2375dfe86dac8aee3b57c63b9e2e2c9c7087
parent27b61cbaa809c3d12c989fa24a1fa042624c05d7
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