From patchwork Fri Jul 28 09:42:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 108875 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp173413qge; Fri, 28 Jul 2017 02:49:28 -0700 (PDT) X-Received: by 10.84.217.208 with SMTP id d16mr7259242plj.208.1501235368834; Fri, 28 Jul 2017 02:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501235368; cv=none; d=google.com; s=arc-20160816; b=VJqJKBloVf1jt8BV5Arte2Sh6GrlpqYLNRbZsRRF1MO3N0JG/S3ho3z2avdexTUs2y fmhM0FJhnDL8gWxHdaU10n0kEgNaVRRdQ7MUusgAqVLuBkFrScHAEdVEFzK0+kUDqyeP fmBOyVnHy/VXu6NZA4tzRXSW3wEnN+M9RayloNji8TNtXWHGy5GoW8IKClEJKCyIl2qw NmwM7wKiX0c8EwtPDIg+3Pqe9qmefYNAZVvOWyIUIirGXy72yVmmIa8EcJv3iUACU1x5 Yal64ERMqGwInHqhLH7YwhG4a0o93L/LcXu2/tVnxr2JlXWmdpmXiMKSTQLSXxFjsWjh 244A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=AGGAfnSfwbieJx+LPnvmiyt6lweI76X+1TLh76RT5Mc=; b=Bh2NjYiFeoNZq53lA3jE+Q0cnQiC0OqQFo5tuvksOLZmDMBturvwANh067c/fKUFwo yBKxCbgoSrQD+boeV8Kv9xc4X7p4dIYsYVEK0gdsdoKQCk6dBkOux+l2tFcvGR7QA4bO Hp8QS6X3WBR1HIdmWEK7lQC7Zd/OgLxsez2V4GAZRGm/ZA8NUJu0kisrAPbfpM454uJx 9KKToN1btlzvCMUM6GfXdD83ZBShHGPTz/2JUyHS2/YlJgqk52qhZND9AP5KqFvfdfA4 sXeaIBV+ScKT7b6pmerJ2ngvZZOF1V8q6INrGuMUlKiXmAHCL/yLpwQJ2Rh/OvBHGqPa HryQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si11077770pld.995.2017.07.28.02.49.28; Fri, 28 Jul 2017 02:49:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751827AbdG1JtZ (ORCPT + 7 others); Fri, 28 Jul 2017 05:49:25 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:9870 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751656AbdG1JtX (ORCPT ); Fri, 28 Jul 2017 05:49:23 -0400 Received: from 172.30.72.55 (EHLO DGGEML403-HUB.china.huawei.com) ([172.30.72.55]) by dggrg03-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ASI05041; Fri, 28 Jul 2017 17:49:15 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEML403-HUB.china.huawei.com (10.3.17.33) with Microsoft SMTP Server id 14.3.301.0; Fri, 28 Jul 2017 17:49:05 +0800 From: Hanjun Guo To: "Rafael J. Wysocki" CC: , , Tao Tian , Hanjun Guo Subject: [PATCH] ACPI: APD: Fix HID for Hisilicon Hip07/08 Date: Fri, 28 Jul 2017 17:42:35 +0800 Message-ID: <1501234955-20921-1-git-send-email-guohanjun@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.597B089B.008C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a53fc1e2b91e666d849bc0f3a8a1c6a9 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Hanjun Guo ACPI HID for Hisilicon Hip07/08 should be HISI02A1/2, not HISI0A21/2, HISI02A1/2 was tested ok but was modified by the stupid typo when upstream the patches (by me), correct them to the right IDs (matching the IDs in drivers/i2c/busses/i2c-designware-platdrv.c). Fixes: 6e14cf361a0c <"ACPI / APD: Add clock frequency for Hisilicon Hip07/08 I2C controller"> Reported-by: Tao Tian Signed-off-by: Hanjun Guo --- drivers/acpi/acpi_apd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.12.4 -- 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 diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c index fc6c416..d5999eb 100644 --- a/drivers/acpi/acpi_apd.c +++ b/drivers/acpi/acpi_apd.c @@ -180,8 +180,8 @@ static int acpi_apd_create_device(struct acpi_device *adev, { "APMC0D0F", APD_ADDR(xgene_i2c_desc) }, { "BRCM900D", APD_ADDR(vulcan_spi_desc) }, { "CAV900D", APD_ADDR(vulcan_spi_desc) }, - { "HISI0A21", APD_ADDR(hip07_i2c_desc) }, - { "HISI0A22", APD_ADDR(hip08_i2c_desc) }, + { "HISI02A1", APD_ADDR(hip07_i2c_desc) }, + { "HISI02A2", APD_ADDR(hip08_i2c_desc) }, #endif { } };