Re: [MXS MMC v2 3/4] Check the return codes of clk_enable() andmxs_reset_block()

From: Wolfram Sang
Date: Thu Dec 08 2011 - 03:53:51 EST


On Thu, Dec 08, 2011 at 09:17:46AM +0100, Lothar Waßmann wrote:
> Add an int return value to mxs_mmc_reset(), so that the return code of
> mxs_reset_block() can be promoted to the caller.
> Also check the return code of clk_enable() in the probe function.
>
> Signed-off-by: Lothar Waßmann <LW@xxxxxxxxxxxxxxxxxxx>
> Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>

Despite minor nit that using __func__ is probably overkill:

Acked-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx>

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature