From: Greg Meiste Date: Wed, 25 Aug 2010 15:56:56 +0000 (-0500) Subject: Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading"" X-Git-Tag: firefly_0821_release~9834^2~650 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1bf42c404f188d84d08d936c2d80855f14218788;p=firefly-linux-kernel-4.4.55.git Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading"" This reverts commit 59e308f5ebf5871fec55dde19459a71af2354fb4. --- diff --git a/arch/arm/mach-tegra/board-stingray-power.c b/arch/arm/mach-tegra/board-stingray-power.c index ffda3a90bdb6..a290a0a230a4 100644 --- a/arch/arm/mach-tegra/board-stingray-power.c +++ b/arch/arm/mach-tegra/board-stingray-power.c @@ -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] = {