[ARM] Stingray SPI board file: Modify the LED sink value for the P0
authorDan Murphy <wldm10@motorola.com>
Tue, 8 Jun 2010 17:21:58 +0000 (12:21 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:04 +0000 (16:33 -0700)
Change the LED sink value for the P0 units and add backward capability
for the M1

Change-Id: I4b5e0675956a9bd21125a7d38393269c23426de0
Signed-off-by: Dan Murphy <wldm10@motorola.com>
arch/arm/mach-tegra/board-stingray-spi.c

index 3b39cead96d420fa7cd2f08f94c5b347e8418cec..648c616ed82cf71297f50b0ab44281c004b42697 100644 (file)
@@ -209,7 +209,7 @@ static struct platform_device cpcap_whisper_device = {
 };
 
 static struct cpcap_led stingray_display_led = {
-       .cpcap_register = CPCAP_REG_KLC,
+       .cpcap_register = CPCAP_REG_MDLC,
        .cpcap_mask = 0x03FF,
        .on_val = 0x00F5,
        .off_val = 0x00F4,
@@ -595,6 +595,7 @@ int __init stingray_spi_init(void)
                cpcap_regulator[CPCAP_SW5].constraints.boot_on = 1;
 
                stingray_display_led.led_regulator = "sw5";
+               stingray_display_led.cpcap_register = CPCAP_REG_KLC,
                stingray_privacy_led.led_regulator = "sw5";
        }