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: NGrygorii Strashko <grygorii.strashko@ti.com> Reviewed-by: NTaras Kondratiuk <taras@ti.com> Signed-off-by: NIvan Khoronzhuk <ivan.khoronzhuk@ti.com> Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
Showing
想要评论请 注册 或 登录