[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mips-cvs
Subject:    MIPS: Octeon: Fix platform bus probing
From:       linux-mips () linux-mips ! org
Date:       2016-09-20 13:49:47
Message-ID: S23993135AbcITNtuJEscY/20160920134950Z+1673 () eddie ! linux-mips ! org
[Download RAW message or body]

Author: Aaro Koskinen <aaro.koskinen@iki.fi> Tue Aug 23 21:39:43 2016 +0300
Comitter: Ralf Baechle <ralf@linux-mips.org> Mon Sep 19 17:33:56 2016 +0200
Commit: aa45609fa4cf6f451616165a63de21d885a2ca66
Gitweb: https://git.linux-mips.org/g/ralf/linux/aa45609fa4cf
Branch: master

Commit 44a7185c2ae6 ("of/platform: Add common method to populate
default bus") added new arch_initcall of_platform_default_populate_init()
that will override device_initcall octeon_publish_devices(). This broke
many OCTEON boards as important devices are not getting probed anymore
(e.g. on EdgeRouter Lite the USB mass storage/rootfs is missing).

Fix by changing octeon_publish_devices() to arch_initcall.

Fixes: 44a7185c2ae6 ("of/platform: Add common method to populate default bus")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Rob Herring <robh@kernel.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14041/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

---

 arch/mips/cavium-octeon/octeon-platform.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic