DaVinci: MUX: Fix davinci_cfg_reg() to honor PINMUX0 configuration
commit1347034f0870eae56a09dae0afd0686653eb27d1
authorHemant Pedanekar <hemantp@ti.com>
Tue, 10 Mar 2009 04:45:05 +0000 (10 10:15 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 10 Mar 2009 15:25:12 +0000 (10 08:25 -0700)
treefe3e54eb34644ab67a399a6a9f5bab7ef5f789d2
parentfc87127a43debd271f15b83a3325bd7743271bc0
DaVinci: MUX: Fix davinci_cfg_reg() to honor PINMUX0 configuration

Changed the 'if' condition for pinmux register offset to 'mask' value
to be able to set PINMUX0. This would have been skipped otherwise
since PINMUX0 is at offset '0'.

Signed-off-by: Hemant Pedanekar <hemantp@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/mux.c