From patchwork Tue Feb 28 20:30:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timur Tabi X-Patchwork-Id: 9596715 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 0A4A5600CB for ; Tue, 28 Feb 2017 20:31:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0A7F28571 for ; Tue, 28 Feb 2017 20:31:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E583228579; Tue, 28 Feb 2017 20:31:06 +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 7BD0A28571 for ; Tue, 28 Feb 2017 20:31:06 +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=rpsTFL10X/ADV4VMRAxqUobKDFzP3p8fQT7oPa2ZcDY=; b=WW5oYQ5gc4Tkw4 bVfmYO8I8kcdcfF4f9Z8aSg/gSxs4WStvYrg/htCooqt4abKUVkOwYRRQaZsefxZGC0iBT+9MCbHJ YJEreXmK/URFC1TA8SU17Dft/bkpV1mkABA281Q/tMKpX0G/l78pOqBwZx2JqRF1ZLPKQM7gjaoi3 Cj8pXggUy2q89ToGECZGGNm2iFRH2mIAkiFCmLwnwjk45fdjpK8axLYZbyrxdwXZE97mxlV1lisdF 7F5ZHpY35CdIrjEVMniVCKD+zTkHYnkUjQ8U0tn2RU4nKDculYEG1B+IQjYof+GP9EkIhDjM814+8 Q+ZDMHWcgWYy6aCn5k6Q==; 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 1cioQL-0007jM-88; Tue, 28 Feb 2017 20:31:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cioQG-0007gZ-Bd for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2017 20:31:02 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A2ACB606B7; Tue, 28 Feb 2017 20:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1488313840; bh=wVxwd0SlVIcsF1QAmWIke/Ud1qgj4w1WF7FUj4UyVdQ=; h=From:To:Subject:Date:From; b=RyZ3QPtAN4bRpcuA42OKOM4HUS9/kZaUOp8vfcZvheM64s5sNQQ76hrLkCaoV4AQr 8EklZim+OYwOKJ9UUixXbFqPPGkY3t/GW8aqDwUXR/b8KwrewL1EAjIkM+G9hKgkVi XHg/zFWs8WsgetRx7Do7Ptx3x5gfFdSh0gPXfPXI= Received: from timur-ubuntu.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (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 8051B607C0; Tue, 28 Feb 2017 20:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1488313838; bh=wVxwd0SlVIcsF1QAmWIke/Ud1qgj4w1WF7FUj4UyVdQ=; h=From:To:Subject:Date:From; b=LlYBeCtjOqMQLwaFIbMOfBEMLPsdxbEfQjBox6cPlorAWBQulwKwvOIqZln5aylf6 37b5aqz7aJrvW0gh9p604R+k7s8isAaVTaXkHZZwPyPVJurE6HqL2MNMfBW8eHQMX9 EftqCm5cHJUf8sr8ARYdBL5rw6GzVgRMbJEv7crk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8051B607C0 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: Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, Christopher Covington , manoj.iyer@canonical.com, dann.frazier@canonical.com Subject: [PATCH] [v2][for 4.11]tty: acpi/spcr: QDF2400 E44 checks for wrong OEM revision Date: Tue, 28 Feb 2017 14:30:33 -0600 Message-Id: <1488313833-12430-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-20170228_123100_514157_0219C118 X-CRM114-Status: UNSURE ( 9.79 ) 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. Fixes: d8a4995bcea1 ("tty: pl011: Work around QDF2400 E44 stuck BUSY bit") Tested-by: Manoj Iyer 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;