musb: properly detect failed initialization of controller
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 Apr 2017 11:46:22 +0000 (13:46 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 25 Apr 2017 10:50:11 +0000 (12:50 +0200)
commit2511b2ed4df36467898952aa7825abbe8d0a211f
tree23648027b48e7130a3d5d833c149fd3c59604794
parent3c476d841daa491f87c8f07851038afbdf4d90a8
musb: properly detect failed initialization of controller

We want to check the result of musb_init_controller
and not the address were the result is stored.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/musb-new/musb_uboot.c