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>
This commit is contained in:
R Sricharan
2011-03-11 11:32:25 -08:00
committed by Tony Lindgren
parent 029268e4c1
commit 86c79bf45f
2 changed files with 7 additions and 13 deletions

View File

@ -159,7 +159,6 @@ struct omap_board_mux {
u16 value;
};
#define OMAP_DEVICE_PAD_IDLE BIT(7) /* Not needed for board-*.c */
#define OMAP_DEVICE_PAD_REMUX BIT(1) /* Dynamically remux a pad,
needs enable, idle and off
values */