diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> | 2013-12-17 08:36:05 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:24 -0500 |
commit | f735a4d0d5b76c6035f30749c4e0aa64b3a9a74e (patch) | |
tree | 76672d02b64d196a0879954d5fd5162fc853723d /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | eaaa4a9af3f553dd07e1a21bbf857933ec9032f0 (diff) |
mtd: nand: davinci: return ENOMEM if memory allocation is failed
In case when memory allocation is failed the driver should return
ENOMEM instead of ENODEV.
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions