From patchwork Tue Feb 28 03:24:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timur Tabi X-Patchwork-Id: 9594607 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BF60A601D7 for ; Tue, 28 Feb 2017 03:25:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B0E0A28501 for ; Tue, 28 Feb 2017 03:25:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A531828506; Tue, 28 Feb 2017 03:25:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2E6C228501 for ; Tue, 28 Feb 2017 03:25:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=aFSDToiWivLbH3amopI0LVQld4ccSYAoIA0tiHhqj6Y=; b=NkyecWOtUY5rRL h3cau10zhylcAu9Vw0PPiihTCL+NjXgyCTn9hXHv3izsl6SrK1FfwlTJCaSeHQSbBAIFFH1s+Mvel MOx0nHRnCKZj/dAU14tskHAQ9eYJLmTiRBIePKcosh413Jog75F0r+GJRLzKtpvzDxoLj+Hor+gCC 0wXJKGffwookfhEqkXZ/L1Z/8HQDVq3ekP7fRMXNTF5ZIfQkkeae1cNVCshCRaYTisWT0YzvN5buW aQEHCNieT0XHZkfmz7mevu+78zTmwJdBm+J0EVGtSX5flXN5hVLWghpUC1OadLVT15yp4XPE7EK4/ 9BqxNG7ocEFw5uyOXy3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ciYPo-0007RI-It; Tue, 28 Feb 2017 03:25:28 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ciYPP-0006c5-Id for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2017 03:25:05 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4030F60D61; Tue, 28 Feb 2017 03:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1488252283; bh=zSinOBN9p9VdqeLQsK0y21WdNJycgH96PfJ2fGqzhGQ=; h=From:To:Subject:Date:From; b=oaTR+qz4/0KVyfTgSPeZTEcTNzw6kqpKXlFF4t2LFzzTPA1h0nIlW+SfZHfLx+VDe GSl5mduzgBFgVqixvzp0XAvXMt2CkgUS5/7x4wg+SYYETICAqT2vhqWhzYhAejzid5 RhoMmxMfvMFJ2kUDb1SVnb73p0Xk84ikQEeIQhk4= Received: from timur-ubuntu.qualcomm.com (unknown [129.46.195.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: timur@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EE11E60D0C; Tue, 28 Feb 2017 03:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1488252282; bh=zSinOBN9p9VdqeLQsK0y21WdNJycgH96PfJ2fGqzhGQ=; h=From:To:Subject:Date:From; b=iC4gA0/glUOLC3WPc0EbdHG/eJuLV+LM00qXi0+192NKHH5B7rJ3va0eHTOnl9+K8 o+LzPqS0j7xxnHaLXh4uOV7UzYr24seT2suxopMaYjczpX5Td5lMpawm5rqTrKrnyC o+FhaLpJpJVO2ZVyZbIZ9aMRuvL6GY+/ccs68ZQ4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EE11E60D0C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=timur@codeaurora.org From: Timur Tabi To: linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Greg Kroah-Hartman , cov@mykolab.com, manoj.iyer@canonical.com Subject: [PATCH] tty: acpi/spcr: QDF2400 E44 checks for wrong OEM revision Date: Mon, 27 Feb 2017 21:24:36 -0600 Message-Id: <1488252276-2425-1-git-send-email-timur@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170227_192503_646663_900ECCBC X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP For Qualcomm Technologies QDF2400 SOCs that are affected by erratum E44, the ACPI oem_revision field is actually set to 1, not 0. Signed-off-by: Timur Tabi --- drivers/acpi/spcr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c index 2b5d0fa..2051a8c 100644 --- a/drivers/acpi/spcr.c +++ b/drivers/acpi/spcr.c @@ -30,7 +30,7 @@ static bool qdf2400_erratum_44_present(struct acpi_table_header *h) return true; if (!memcmp(h->oem_table_id, "QDF2400 ", ACPI_OEM_TABLE_ID_SIZE) && - h->oem_revision == 0) + h->oem_revision == 1) return true; return false;