From patchwork Mon Dec 7 21:05:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Chary X-Patchwork-Id: 65584 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB7L5Bc0016699 for ; Mon, 7 Dec 2009 21:05:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932191AbZLGVFD (ORCPT ); Mon, 7 Dec 2009 16:05:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932842AbZLGVFD (ORCPT ); Mon, 7 Dec 2009 16:05:03 -0500 Received: from iksaif.net ([88.191.73.63]:59437 "EHLO iksaif.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932191AbZLGVFC (ORCPT ); Mon, 7 Dec 2009 16:05:02 -0500 Received: from localhost.localdomain (cxr69-11-88-180-139-205.fbx.proxad.net [88.180.139.205]) (Authenticated sender: corentincj@iksaif.net) by iksaif.net (Postfix) with ESMTPA id B0C21C90005; Mon, 7 Dec 2009 22:06:40 +0100 (CET) From: Corentin Chary To: Len Brown Cc: linux-acpi@vger.kernel.org, Corentin Chary , stable@kernel.org, Thomas Renninger , =?UTF-8?q?Peter=20K=C3=BCppers?= , Michael Franzl , Ian Turner Subject: [PATCH] asus-laptop: change light sens default values. Date: Mon, 7 Dec 2009 22:05:50 +0100 Message-Id: <1260219950-28577-1-git-send-email-corentincj@iksaif.net> X-Mailer: git-send-email 1.6.5.4 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index b39d2bb..849359a 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -1283,8 +1283,8 @@ static int asus_hotk_add(struct acpi_device *device) hotk->ledd_status = 0xFFF; /* Set initial values of light sensor and level */ - hotk->light_switch = 1; /* Default to light sensor disabled */ - hotk->light_level = 0; /* level 5 for sensor sensitivity */ + hotk->light_switch = 0; /* Default to light sensor disabled */ + hotk->light_level = 5; /* level 5 for sensor sensitivity */ if (ls_switch_handle) set_light_sens_switch(hotk->light_switch);