Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading""
authorGreg Meiste <w30289@motorola.com>
Wed, 25 Aug 2010 15:56:56 +0000 (10:56 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:46 +0000 (16:33 -0700)
This reverts commit 59e308f5ebf5871fec55dde19459a71af2354fb4.

arch/arm/mach-tegra/board-stingray-power.c

index ffda3a90bdb6a82dfa5db8fe9e7336d9f0609346..a290a0a230a4047507e64239389bc6e15f872ed7 100644 (file)
@@ -268,9 +268,9 @@ static struct platform_device cpcap_privacy_led = {
 static struct cpcap_led stingray_notification_led ={
        .blink_able = 1,
        .cpcap_register = CPCAP_REG_ADLC,
-       .cpcap_mask = 0x7FFF,
-       .on_val = 0x7FF5,
-       .off_val = 0x7FF4,
+       .cpcap_mask = 0x1FFF,
+       .on_val = 0x1FF5,
+       .off_val = 0x1FF4,
        .cpcap_duty_cycle = 0x41,
        .cpcap_current = 0x0,
        .class_name = LD_NOTIF_LED_DEV,
@@ -310,6 +310,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},
 };
 
 unsigned short cpcap_regulator_mode_values[CPCAP_NUM_REGULATORS] = {