Skip to content

Commit 29f5b34

Browse files
superna9999tmlind
authored andcommitted
arm: omap2+: add missing HWMOD_NO_IDLEST in 81xx hwmod data
Add missing HWMOD_NO_IDLEST hwmod flag for entries not having omap4 clkctrl values. The emac0 hwmod flag fixes the davinci_emac driver probe since the return of pm_resume() call is now checked. This solves the following boot errors : [ 0.121429] omap_hwmod: l4_ls: _wait_target_ready failed: -16 [ 0.121441] omap_hwmod: l4_ls: cannot be enabled for reset (3) [ 0.124342] omap_hwmod: l4_hs: _wait_target_ready failed: -16 [ 0.124352] omap_hwmod: l4_hs: cannot be enabled for reset (3) [ 1.967228] omap_hwmod: emac0: _wait_target_ready failed: -16 Cc: Brian Hutchinson <b.hutchman@gmail.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 1ec2183 commit 29f5b34

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎arch/arm/mach-omap2/omap_hwmod_81xx_data.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ static struct omap_hwmod dm81xx_l4_ls_hwmod = {
144144
.name = "l4_ls",
145145
.clkdm_name = "alwon_l3s_clkdm",
146146
.class = &l4_hwmod_class,
147+
.flags = HWMOD_NO_IDLEST,
147148
};
148149

149150
/*
@@ -155,6 +156,7 @@ static struct omap_hwmod dm81xx_l4_hs_hwmod = {
155156
.name = "l4_hs",
156157
.clkdm_name = "alwon_l3_med_clkdm",
157158
.class = &l4_hwmod_class,
159+
.flags = HWMOD_NO_IDLEST,
158160
};
159161

160162
/* L3 slow -> L4 ls peripheral interface running at 125MHz */
@@ -850,6 +852,7 @@ static struct omap_hwmod dm816x_emac0_hwmod = {
850852
.name = "emac0",
851853
.clkdm_name = "alwon_ethernet_clkdm",
852854
.class = &dm816x_emac_hwmod_class,
855+
.flags = HWMOD_NO_IDLEST,
853856
};
854857

855858
static struct omap_hwmod_ocp_if dm81xx_l4_hs__emac0 = {

0 commit comments

Comments
 (0)