Skip to content
Commit dcedf628 authored by Fabio Estevam's avatar Fabio Estevam Committed by Brian Norris
Browse files

mtd: nand: mxc_nand: Check the return value from clk_prepare_enable()



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

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 05664777
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment