OMAP4: devices: Do not create dmic device if the dtb has been provided
Subsystems (3)
PATCH 1/2 OMAP4: devices: Do not create dmic device if the dtb has been provided
From: Peter Ujfalusi <[email protected]>
If dtb is provided the needed device will be created dynamically.
Signed-off-by Peter Ujfalusi <[email protected]>
--- arch/arm/mach-omap2/devices.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/devices.c +3 -2
@@ -702,12 +702,13 @@ static int __init omap2_init_devices(void)*/ omap_init_audio ();omap_init_mcpdm (); -omap_init_dmic ();omap_init_camera ();omap_init_mbox ();/* If dtb is there, the devices will be created dynamically */ -if (!of_have_populated_dt ()) +if (!of_have_populated_dt ()) { +omap_init_dmic ();omap_init_mcspi (); + }omap_init_pmu ();omap_hdq_init ();omap_init_sti ();
Signature · 1 line
1.7.8.6
PATCH 2/2 OMAP4: devices: Do not create mcpdm device if the dtb has been provided
From: Peter Ujfalusi <[email protected]>
If dtb is provided the needed device will be created dynamically.
Signed-off-by Peter Ujfalusi <[email protected]>
--- arch/arm/mach-omap2/devices.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/devices.c +1 -1
@@ -701,12 +701,12 @@ static int __init omap2_init_devices(void)* in alphabetical order so they're easier to sort through. */ omap_init_audio (); -omap_init_mcpdm ();omap_init_camera ();omap_init_mbox ();/* If dtb is there, the devices will be created dynamically */ if (!of_have_populated_dt ()) {omap_init_dmic (); +omap_init_mcpdm ();omap_init_mcspi (); }omap_init_pmu ();
Signature · 1 line
1.7.8.6
Tony Lindgren
maintainerPATCH 2/2 OMAP4: devices: Do not create mcpdm device if the dtb has been provided
Quoted 3 lines · * nb6g3dENgvI <[email protected]> [120502 05:26]:
From: Peter Ujfalusi <[email protected]>
If dtb is provided the needed device will be created dynamically.
Thanks applying both into dt branch.
Regards,
Tony