]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: pxa3xx: Fix not calling dev_xxx with a device
authorSean Anderson <seanga2@gmail.com>
Tue, 15 Sep 2020 14:44:40 +0000 (10:44 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 12:52:33 +0000 (08:52 -0400)
commit661c98121d49c643a1b7b4427d152e2586a220b2
treef0b2233a64da1604bd19e94e4a80859a5d529075
parentb4f11dfcbd0129e16e6548eabee2d8482190835f
mtd: nand: pxa3xx: Fix not calling dev_xxx with a device

Use the device from any mtd already available, or from the active mtd via
pxa3xx_nand_info if one is not.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/mtd/nand/raw/pxa3xx_nand.c