[MXS MMC v2 3/4] Check the return codes of clk_enable() and mxs_reset_block()

Wolfram Sang w.sang at pengutronix.de
Thu Dec 8 03:53:40 EST 2011


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 at KARO-electronics.de>
> Acked-by: Shawn Guo <shawn.guo at linaro.org>

Despite minor nit that using __func__ is probably overkill:

Acked-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20111208/b700d403/attachment.sig>


More information about the linux-arm-kernel mailing list