]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
memory: atmel-ebi: Allow deferred probing
authorAlexander Dahl <ada@thorsis.com>
Wed, 29 Apr 2026 12:59:30 +0000 (14:59 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 4 May 2026 17:15:59 +0000 (19:15 +0200)
commit754d60ad1c91895be0bc7d771fbf9fb3c9448640
treecb77d1c554d594c7f468f62302788f8e3124adc5
parent254f49634ee16a731174d2ae34bc50bd5f45e731
memory: atmel-ebi: Allow deferred probing

After removing of_platform_default_populate() calls the atmel-ebi driver
was affected by deferred probing.  platform_driver_probe() is
incompatible with deferred probing.  This led to atmel-ebi driver
eventually not being probed on at91 sam9x60-curiosity and other sam9x60
based boards.  Subsequently the nand-controller driver (nand-controller
being a child node of ebi) on that platform was not probed and thus raw
NAND flash was inaccessible, preventing devices to boot with rootfs on
raw NAND flash (e.g. with UBI/UBIFS).

Fixes: 0b0f7e6539a7 ("ARM: at91: remove unnecessary of_platform_default_populate calls")
Cc: stable@vger.kernel.org
Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Link: https://patch.msgid.link/20260429125930.844790-1-ada@thorsis.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/atmel-ebi.c