Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1006278ybf; Thu, 27 Feb 2020 03:28:45 -0800 (PST) X-Google-Smtp-Source: APXvYqykhtdr47UWnKXX3Ii4kJGNmYzkuPseou1qNCq+n24PJjmuqpj48OP4C3cdPINAg1zqgfaP X-Received: by 2002:a9d:6f0a:: with SMTP id n10mr3015650otq.54.1582802925300; Thu, 27 Feb 2020 03:28:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582802925; cv=none; d=google.com; s=arc-20160816; b=CNzM+N4TYIDMiSAAUSot60gc4cwJGBYvL5EIHOnlSHltTLzsiT/ewlfSTwlvRJcrPv y7RxEAB0GjNiCR39yLDn4+sTfYqvdA+kd8OxVB37sWvqFz0ZD2G1Ftct58j+ScDmyYNH cy4eTiWm2hmV0F9qb4KxHO+3UtlTghwH/nf9ez/XPhZl0E5hhFVv2x0ntppPNfyNwBVy 7rEr+FzfJWw/rkAbfZI8ILRPw6NtaGzlO3w99pQrJJplZiUS7LP7sJ8FTVcStGA8VMHG E0XTdxAYcuVCWjsEQX/vzQAHnxTbejPItLHGjJQqZwHmh3yTJFwIJJ/tKBaA6T5nQGJG 3y2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dGQ9x/fH2iSLdfzDaVzD7Cg17hhr7vKtW6dCtIcc0y8=; b=qL1MN2fWvYAkPBBvdfyRifA3T5aw6mSpscfY1vsZ+Kq/vHGmj/5FWuR+madVGErqXq iT6PJPTb/YOgign6ld1f18O9nG8fY/7DEqd/yvwohMt2PBSsIU7D86jaF95YUa/nEm51 amQOpddRIZce60F7Q53Xwe7OPgPhf5A/JCy9coqpiA3JH64sIbfTmIsqVETxcKqQaFdc C/T9D8wjdsXPXDWSHfRi90WXjf7RGleEgMUZJSGf9nL2Wes2RRsk7mM8o1a76+FhqpfD L2dq3Qpv9IWD93tDG/uxFKNgYwEkEbEgqBzAEMaX6T5ZJxy0lK/La9LT9KTi3uDZNAKr 7BKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si1108353ois.76.2020.02.27.03.28.30; Thu, 27 Feb 2020 03:28:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728882AbgB0L1l (ORCPT + 99 others); Thu, 27 Feb 2020 06:27:41 -0500 Received: from mga02.intel.com ([134.134.136.20]:38939 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728872AbgB0L1l (ORCPT ); Thu, 27 Feb 2020 06:27:41 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2020 03:27:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,491,1574150400"; d="scan'208";a="227102786" Received: from twinkler-lnx.jer.intel.com ([10.12.91.155]) by orsmga007.jf.intel.com with ESMTP; 27 Feb 2020 03:27:38 -0800 From: Tomas Winkler To: Greg Kroah-Hartman Cc: Alexander Usyskin , linux-kernel@vger.kernel.org, Tomas Winkler Subject: [char-misc-next] mei: fix CNL itouch device number to match the spec. Date: Thu, 27 Feb 2020 13:27:37 +0200 Message-Id: <20200227112737.8383-1-tomas.winkler@intel.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Usyskin The Cannon Lake device for itouch in HW spec is numbered 3, not 4. Fix the internal numbering to match the HW spec. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me-regs.h | 4 ++-- drivers/misc/mei/pci-me.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h index 87a0201ba6b3..d2359aed79ae 100644 --- a/drivers/misc/mei/hw-me-regs.h +++ b/drivers/misc/mei/hw-me-regs.h @@ -75,9 +75,9 @@ #define MEI_DEV_ID_KBP_2 0xA2BB /* Kaby Point 2 */ #define MEI_DEV_ID_CNP_LP 0x9DE0 /* Cannon Point LP */ -#define MEI_DEV_ID_CNP_LP_4 0x9DE4 /* Cannon Point LP 4 (iTouch) */ +#define MEI_DEV_ID_CNP_LP_3 0x9DE4 /* Cannon Point LP 3 (iTouch) */ #define MEI_DEV_ID_CNP_H 0xA360 /* Cannon Point H */ -#define MEI_DEV_ID_CNP_H_4 0xA364 /* Cannon Point H 4 (iTouch) */ +#define MEI_DEV_ID_CNP_H_3 0xA364 /* Cannon Point H 3 (iTouch) */ #define MEI_DEV_ID_CMP_LP 0x02e0 /* Comet Point LP */ #define MEI_DEV_ID_CMP_LP_3 0x02e4 /* Comet Point LP 3 (iTouch) */ diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index f51e5326b8bd..ebdc2d6f8ddb 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c @@ -83,9 +83,9 @@ static const struct pci_device_id mei_me_pci_tbl[] = { {MEI_PCI_DEVICE(MEI_DEV_ID_KBP_2, MEI_ME_PCH8_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_LP, MEI_ME_PCH12_CFG)}, - {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_LP_4, MEI_ME_PCH8_CFG)}, + {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_LP_3, MEI_ME_PCH8_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_H, MEI_ME_PCH12_CFG)}, - {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_H_4, MEI_ME_PCH8_CFG)}, + {MEI_PCI_DEVICE(MEI_DEV_ID_CNP_H_3, MEI_ME_PCH8_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_CMP_LP, MEI_ME_PCH12_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_CMP_LP_3, MEI_ME_PCH8_CFG)}, -- 2.21.1