usb: phy: phy-mxs-usb: Check the return value from stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 3 Jul 2013 19:34:13 +0000 (16:34 -0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:50 +0000 (13:56 +0300)
commit51e563e3c11492748d11d3846b6d325426427a95
treee05f07176ed0ace3da35bb27bff73ef3fc3af262
parent24dc3538bcfb353741e653fab550c4bf0a8dc07d
usb: phy: phy-mxs-usb: Check the return value from stmp_reset_block()

stmp_reset_block() may fail, so let's check its return value and propagate it
in the case of error.

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c