]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: mux: add wakeup-capable hwmod mux entries to dynamic list
authorPaul Walmsley <paul@pwsan.com>
Fri, 16 Dec 2011 21:36:57 +0000 (14:36 -0700)
committerPaul Walmsley <paul@pwsan.com>
Fri, 16 Dec 2011 21:36:57 +0000 (14:36 -0700)
commit7d8cc450d6d894c444e6033c796832d3b87a916a
treeb0775698aaf2ff83951ec20434292eeca3125769
parent61540ae4e6374ba2bac1f9c72ad02736ba394640
ARM: OMAP2+: mux: add wakeup-capable hwmod mux entries to dynamic list

omap_hwmod_mux() currently only iterates through the dynamic pad list.
This list currently only consists of pads with the
OMAP_DEVICE_MUX_REMUX flag set.

Subsequent patches in this series will cause hwmod mux entries with
the OMAP_DEVICE_MUX_WAKEUP flag set to be changed dynamically, to
control hwmod I/O ring wakeup.  For this to work correctly, hwmod mux
entries with the OMAP_DEVICE_MUX_WAKEUP flag set must also be added to
the dynamic pad list.  So this patch modifies omap_hwmod_mux_init() to
do so.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Govindraj R <govindraj.raja@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c