From patchwork Mon Mar 11 19:16:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Valentini X-Patchwork-Id: 2250121 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id A2C913FC8F for ; Mon, 11 Mar 2013 19:16:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751919Ab3CKTQl (ORCPT ); Mon, 11 Mar 2013 15:16:41 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:54242 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468Ab3CKTQk (ORCPT ); Mon, 11 Mar 2013 15:16:40 -0400 Received: by mail-ee0-f46.google.com with SMTP id e49so2335103eek.19 for ; Mon, 11 Mar 2013 12:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version:content-transfer-encoding; bh=Qib7u6rlHoSIOdWGIIygz/1vfanJ8vggEcEBEElTvS0=; b=r5+igsKp6I3N+6pPLkeNepn7bsHBtL1mec8zzsByV8tMgqn/uads8BUP5JtmWVwDiM Sg06oV3VSeM88hQPMSf6BI52DQP6lncl4pFZw8tOFDjdjdwsSM6FcwTiq0s0ywytggPb X8ZeIzKOZbWh7dksVF4f/7lxJq4kuHQa0HbNAvYfSRFaDOMckYblylDc4c0QMmdLu4eU kf3LT+tDnbFJRgZE7218A0+Zb7P0MRrkB6th015eAFL8PynNoGuG8drXSAekBv2oXZKc dD8NfByysZhmEOI2FKD9L4Ngt/mJiVDsb3XY7LBfKoKwvHYxBlmFdKo1SO3iRTrfZjyu AKUg== X-Received: by 10.15.101.204 with SMTP id bp52mr39557518eeb.31.1363029399342; Mon, 11 Mar 2013 12:16:39 -0700 (PDT) Received: from [10.0.0.2] (91-114-157-155.adsl.highway.telekom.at. [91.114.157.155]) by mx.google.com with ESMTPS id 3sm25319447eej.6.2013.03.11.12.16.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 11 Mar 2013 12:16:38 -0700 (PDT) Message-ID: <1363029394.3138.3.camel@fafadora.lan> Subject: [PATCH] acpi: fix suspend and resume on Sony Vaio VGN-FW21M From: Fabio Valentini To: rjw@sisk.pl Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 11 Mar 2013 20:16:34 +0100 X-Mailer: Evolution 3.6.4 (3.6.4-2.fc18) Mime-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Fabio Valentini Add Sony Vaio VGN-FW21M to the device blacklist in drivers/acpi/sleep.c. Fixes suspend/resume on this device (device no longer reboots instead of resuming). Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=55001 Signed-off-by: Fabio Valentini --- Patch applies cleanly to latest master (3.9-rc2) and stable (3.8.2). drivers/acpi/sleep.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux/drivers/acpi/sleep.c.orig 2013-03-09 16:46:41.407984555 +0100 +++ linux/drivers/acpi/sleep.c 2013-03-09 16:49:03.693005658 +0100 @@ -193,6 +193,14 @@ static struct dmi_system_id __initdata a }, { .callback = init_nvs_nosave, + .ident = "Sony Vaio VGN-FW21M", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "VGN-FW21M"), + }, + }, + { + .callback = init_nvs_nosave, .ident = "Sony Vaio VPCEB17FX", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),