[ARM] tegra: stingray: Change to 2 second fade
authorGreg Meiste <w30289@motorola.com>
Wed, 20 Oct 2010 14:47:52 +0000 (09:47 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 22 Oct 2010 22:20:52 +0000 (15:20 -0700)
Change CPCAP configuration from a 4 second LED fade to a 2 second fade.
Also change the LED mask so the notification LED always turns on
instantly.

Change-Id: I7b3080a4f9f770187dd5a906fc9cf436a4e630f2
Signed-off-by: Greg Meiste <w30289@motorola.com>
arch/arm/mach-tegra/board-stingray-power.c

index c1b41bdfa136c2417ffc7a84c4b9152e7d554483..eeee839c7c6d9897cf50f1296fa29b1c61290359 100644 (file)
@@ -252,7 +252,7 @@ static struct platform_device cpcap_privacy_led = {
 static struct cpcap_led stingray_notification_led ={
        .blink_able = 1,
        .cpcap_register = CPCAP_REG_ADLC,
-       .cpcap_reg_mask = 0x1FFF,
+       .cpcap_reg_mask = 0x7FFF,
        .cpcap_reg_period = 0x0000,
        .cpcap_reg_duty_cycle = 0x07F0,
        .cpcap_reg_current = 0x0008,
@@ -295,7 +295,7 @@ struct cpcap_spi_init_data stingray_cpcap_spi_init[] = {
        {CPCAP_REG_USBC1,     0x1201},
        {CPCAP_REG_USBC3,     0x7DFB},
        {CPCAP_REG_OWDC,      0x0003},
-       {CPCAP_REG_ADLC,      0x6000},
+       {CPCAP_REG_ADLC,      0x0000},
 };
 
 unsigned short cpcap_regulator_mode_values[CPCAP_NUM_REGULATORS] = {