From patchwork Sun Aug 2 15:57:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Jenkins X-Patchwork-Id: 38769 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 n72FnJdr005313 for ; Sun, 2 Aug 2009 15:57:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752960AbZHBP5U (ORCPT ); Sun, 2 Aug 2009 11:57:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752968AbZHBP5U (ORCPT ); Sun, 2 Aug 2009 11:57:20 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:35842 "EHLO mail-ew0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752960AbZHBP5T (ORCPT ); Sun, 2 Aug 2009 11:57:19 -0400 Received: by mail-ew0-f214.google.com with SMTP id 10so2535576ewy.37 for ; Sun, 02 Aug 2009 08:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=NsTSk6f5Ip+6teFh4JoARx049x8vMWzDU2g52TNskkE=; b=qKQj52BcjAA2uezDRn6LHGbfgHuXK1KQ9FDcIrEI/mka8yuYsqjDP8cjPZP00QqdYi p5ENO9HDs6U8CCLt9BQYc7Hv8mzB1dY4JTdLzBZaoN3/KiYOlMnA393RJPopD2zLmnjp YdGHn87cj+lWsUpTyjKXSb7Lg9OqysB7aaVVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=tw5P4C0+RqBsiM38li4QGWn659VI0io6rPAOZnQaBhSlw6Ruvcc5pZrKc28rpnsOcv 6abZHQ7rnxgbvFN0TXUaakL5qYVtAoYG0ztWYL5dC+sREgE6Eg+V6l1zhNEBcZHbuAR6 VKyUHZao20ckz458P8bf3DQOm6PWpZtBM8Lz8= Received: by 10.210.114.15 with SMTP id m15mr6061839ebc.0.1249228640236; Sun, 02 Aug 2009 08:57:20 -0700 (PDT) Received: from ?192.168.0.2? ([86.53.68.233]) by mx.google.com with ESMTPS id 24sm7504002eyx.13.2009.08.02.08.57.18 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Aug 2009 08:57:19 -0700 (PDT) Message-ID: <4A75B75E.1040306@tuffmail.co.uk> Date: Sun, 02 Aug 2009 16:57:18 +0100 From: Alan Jenkins User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Corentin Chary CC: acpi4asus-user@lists.sourceforge.net, linux-acpi@vger.kernel.org Subject: [PATCH 7/8] eeepc-laptop: correct the description of the hibernation abort bug Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Actually it is only the LED which is affected. The bios bug does not disable the wifi. Signed-off-by: Alan Jenkins --- drivers/platform/x86/eeepc-laptop.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 8a32004..df68ae6 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -826,11 +826,10 @@ static int eeepc_hotk_resume(struct acpi_device *device) if (ehotk->wlan_rfkill) { bool wlan; - /* Workaround - it seems that _PTS disables the wireless - without notification or changing the value read by WLAN. - Normally this is fine because the correct value is restored - from the non-volatile storage on resume, but we need to do - it ourself if case suspend is aborted, or we lose wireless. + /* + * Work around bios bug - acpi _PTS turns off the wireless led + * during suspend. Normally it restores it on resume, but + * we should kick it ourselves in case suspend is aborted. */ wlan = get_acpi(CM_ASL_WLAN); set_acpi(CM_ASL_WLAN, wlan);