Commit eeece7b1 authored by Fabio Estevam's avatar Fabio Estevam Committed by Nitin Garg
Browse files

MLK-9842 mtd: fsl-quadspi: Propagate the error from of_modalias_node()



The 'map_failed' label will return 'ret', so we need to assign the error
code to 'ret', otherwise the probe function will return success.

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarHuang Shijie <shijie8@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
(cherry picked from commit b26171e3)
(cherry picked from commit 9e4a091d30e27dd40a04b892bf5f6bf372271380)
parent aa48ff63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment