]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: block2mtd: wait until block devices are presented
authorFelix Fietkau <nbd@openwrt.org>
Sun, 9 Nov 2014 12:21:13 +0000 (07:21 -0500)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 24 Feb 2015 07:44:12 +0000 (23:44 -0800)
commit38afc3b346a4c0f25f6e1852379bbdfd1042ec88
treecdd2733467a2f092db3f06d6e35fc4ba74f21a35
parentb7d65746744b343701de14ca433982a3229390be
mtd: block2mtd: wait until block devices are presented

Ensures that block2mtd is triggered after the block devices are enumerated
at boot time.
This issue is seen on BCM2835 (Raspberry Pi) systems when mounting JFFS2
block2mtd filesystems, probably because of the delay on enumerating a USB
MMC card reader.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rodrigo Freire <rfreire@redhat.com>
Signed-off-by: Herton Krzesinski <herton@redhat.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/block2mtd.c