omap2+: mux: Remove the use of IDLE flag
authorR Sricharan <r.sricharan@ti.com>
Fri, 11 Mar 2011 19:32:25 +0000 (11:32 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Mar 2011 19:32:25 +0000 (11:32 -0800)
commit86c79bf45f380c6efd907e95f993146b2b975232
tree4dd547e30350bdbbe889efe85cc71df566dceec7
parent029268e4c124a38b11ae965849ea2dfef724a568
omap2+: mux: Remove the use of IDLE flag

Currently OMAP_DEVICE_PAD_IDLE flag is used to mux pins
dynamically. This can be simplified by using the enabled
state variable of each pad. This also fixes the issue of
the static pads not getting muxed after idling and
disable/enable state transitions.

Signed-off-by: sricharan <r.sricharan@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
arch/arm/mach-omap2/mux.h