SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: tidyup: sound card detection order
@ 2012-05-29  6:38 Kuninori Morimoto
  2012-05-29  6:46 ` Simon Horman
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Kuninori Morimoto @ 2012-05-29  6:38 UTC (permalink / raw)
  To: linux-sh

Current sound card is using snd-simple-card,
but it requests probe deferral when boot, since the detection
timing of snd-simple-card is earlier than sh.

Because of this behavior, if platform has some sound cards,
the postponed probe order was changed
and it breaks ALSA device list order.

This patch makes it consistent on mackerel/ap4evb

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mach-shmobile/board-ap4evb.c   |    2 +-
 arch/arm/mach-shmobile/board-mackerel.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index d7417f3..2a1e9b5 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -1064,8 +1064,8 @@ static struct platform_device *ap4evb_devices[] __initdata = {
 	&sdhi1_device,
 	&usb1_host_device,
 	&fsi_device,
-	&fsi_ak4643_device,
 	&fsi_hdmi_device,
+	&fsi_ak4643_device,
 	&sh_mmcif_device,
 	&hdmi_device,
 	&lcdc_device,
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 798be2b..2313a6f 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -1300,8 +1300,8 @@ static struct platform_device *mackerel_devices[] __initdata = {
 	&usbhs0_device,
 	&leds_device,
 	&fsi_device,
-	&fsi_ak4643_device,
 	&fsi_hdmi_device,
+	&fsi_ak4643_device,
 	&nand_flash_device,
 	&sdhi0_device,
 #if !defined(CONFIG_MMC_SH_MMCIF) && !defined(CONFIG_MMC_SH_MMCIF_MODULE)
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-07-09 21:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29  6:38 [PATCH] ARM: mach-shmobile: tidyup: sound card detection order Kuninori Morimoto
2012-05-29  6:46 ` Simon Horman
2012-05-29  7:04 ` Paul Mundt
2012-05-29  7:33 ` Simon Horman
2012-05-29  7:40 ` Kuninori Morimoto
2012-05-29  9:11 ` Simon Horman
2012-05-30  0:25 ` Kuninori Morimoto
2012-05-30  1:09 ` Kuninori Morimoto
2012-05-30  1:30 ` Simon Horman
2012-05-30  1:34 ` Kuninori Morimoto
2012-05-30  1:46   ` [PATCH] driver core: fixup reversed deferred probe order Kuninori Morimoto
2012-06-12 23:17     ` Greg Kroah-Hartman
2012-06-13  0:03       ` Kuninori Morimoto
2012-06-13  0:33         ` Greg Kroah-Hartman
2012-07-09 21:56     ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox