commit | 9896dd6e0e443d7cd670a003882b0acc5da80ed9 | [log] [tgz] |
---|---|---|
author | Vignesh Raghavendra <vigneshr@ti.com> | Wed Jul 31 20:28:55 2024 +0530 |
committer | Tom Rini <trini@konsulko.com> | Tue Aug 27 14:27:44 2024 -0600 |
tree | 4c5a2d6f643dbcb3e2a8b3755ccd80eafec844e8 | |
parent | 04e8b920f255b933c7bf8d052e8602315d893b30 [diff] |
mtd: nand: raw: omap_gpmc: Check return value of gpmc_nand_init If the function is called with no NAND device attached, then this function can return error value, proceeding further ignoring the same can cause system crash. This is seen when "mtd list" is run with no NAND addon cards connected. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Acked-by: Roger Quadros <rogerq@kernel.org>