]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Check also the first dts child for hwmod flags
authorTony Lindgren <tony@atomide.com>
Mon, 10 Dec 2018 22:11:10 +0000 (14:11 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Dec 2018 22:11:10 +0000 (14:11 -0800)
commit5966c0a95644acee75b15f886f6575190c6d6039
tree4647e9a51547e580a789c890e1f8a7ca32946995
parent6b326d4430832a78097c14b866fa0975121e3e28
ARM: OMAP2+: Check also the first dts child for hwmod flags

Until the board specific dts files are updated to have hwmod
flags at the interconnect target module level, we want to keep
things working both for old and new dts files.

So let's also check the first child for hwmod flags. The module
flags are for the whole module, so only the first child should
ever have them.

Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c