arm: omap3: voltage: fix channel configuration
authorTero Kristo <t-kristo@ti.com>
Mon, 20 Feb 2012 10:26:06 +0000 (12:26 +0200)
committerKevin Hilman <khilman@ti.com>
Wed, 7 Mar 2012 01:35:24 +0000 (17:35 -0800)
OMAP3 uses the default settings for VDD1 channel, otherwise the settings will
overlap with VDD2 and attempting to modify VDD1 voltage will actually change
VDD2 voltage.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vc3xxx_data.c

index a5ec7f8..5d8eaf3 100644 (file)
@@ -46,6 +46,7 @@ static struct omap_vc_common omap3_vc_common = {
 };
 
 struct omap_vc_channel omap3_vc_mpu = {
+       .flags = OMAP_VC_CHANNEL_DEFAULT,
        .common = &omap3_vc_common,
        .smps_sa_reg     = OMAP3_PRM_VC_SMPS_SA_OFFSET,
        .smps_volra_reg  = OMAP3_PRM_VC_SMPS_VOL_RA_OFFSET,