]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: chipidea: don't clobber return value of ci_role_start()
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 31 Jul 2013 14:21:15 +0000 (16:21 +0200)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:48 +0000 (09:54 +0800)
commit2fa79b80f2c12abdd91388931adcdcc14bd6a692
treeeac0e255bf405874f6c908cd95e0e3c052d031c1
parent22e9ccd58c03d1a5ed341fe5fa0e386f4c6ca5d6
usb: chipidea: don't clobber return value of ci_role_start()

If a role fails to start, propagate the error code up the call stack
from probe.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/usb/chipidea/core.c