commit | c9d1f947a85e38b6dded469470c95ed62430cb3f | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Sep 12 14:58:02 2012 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 12 10:58:38 2012 -0700 |
tree | 9ab1a8de6228bdda0f2345f82e7446eafa13d38f | |
parent | c0a48e6c75f2ac190d812bea5fc339696e434c2e [diff] |
usb: chipidea: udc: fix error path in udc_start() This patch fixes the error path of udc_start(). Now NULL is used to unset the peripheral with otg_set_peripheral(). Cc: stable <stable@vger.kernel.org> Reviewed-by: Richard Zhao <richard.zhao@freescale.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>