Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1458640lqp; Mon, 15 Apr 2024 07:12:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9ICdJgcsLERhEfZSzfbUY9Gvl1H5nPQlqVX+I9CbFTj4/ZhcrsN5W7Yj/V0T95pk1HD3geaZJLD94bvKd9Aj8i5YTlR4dCvFVZwpVdw== X-Google-Smtp-Source: AGHT+IH6093wTnQLw0zIsYf2w+rECTSa2dBIktvkE9Dj5U/FHWCfsWydL9xmyhYDidJYxkfJY59j X-Received: by 2002:a05:6a00:929d:b0:6ec:f84c:902c with SMTP id jw29-20020a056a00929d00b006ecf84c902cmr9402071pfb.24.1713190361083; Mon, 15 Apr 2024 07:12:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713190361; cv=pass; d=google.com; s=arc-20160816; b=HuNxJnnXNumSY+mrKJopBfvdsypLFdp0MauGKj6iKVnBoUJbaKECY2HTJw+UdUToSK bkDCoyqYqix4SsEvXAFzPPkoT8hCcxCaGlBl3nwo82hI/LwND1FHU5ByWt1LEQHMFJo7 U+FHeJOzKmkB3zcIzUsmCfQIL+PTvKhjrJyQ+JCkGM7Dcd9zW/+x3KjktItnKG5VG4Gk GiN3YkmH/coxLkmcU47+wbnvlNUj6XBLl52fiIFajQbUfzsQMjZLmveO5BrvBc15l9FH 9XW+xfZoCFle0yCECHjZ4AvdFgnwEi1llkmb9Vi6q9J/Khnxck4pq3zvW5S8ZPSyRmJI n8cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3OJhcMeXuMFTqyfW9OOdNI4jRZKZtYTfxfgYp+WvaPQ=; fh=qdH4DhXpglaPPB55ic5S8uH7M+K3mKqvODTbK85/kyo=; b=YbLkIy39oO/v6e9RaqbNqCfIm+M9+qNul/ycGEguYqUgIU5GI4FmWY9ZAw76j/UQgY 8sbdw+ouaIjutiyamh7tQJoq52O93dw7PXOKTz3YO8yZGXsKO3tIrZSKolyG49KU6287 32Lccg18WTcw1evY6UNO46he8NhT+AshEPuYCvIjWPIJK//+zO9iGPh2lJUmo4kbxwjq gPQm39dVTNccbW5xM/nNsfF23L8p25VO2rifktec+7qn4ikl25bQ8MP1+BGxJAU/UeM3 APNAxQmtuGO8BnAYU4bpVJp+4tmo+mx2WYq57i6ZKNFkYS7/XGiYOgB7L24nfutJzrJY vSjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YtJZCmX4; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-144612-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s32-20020a056a0017a000b006ece75a6d45si8284257pfg.333.2024.04.15.07.12.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 07:12:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144612-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YtJZCmX4; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-144612-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144612-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 01462281C3E for ; Mon, 15 Apr 2024 06:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 088EF200DE; Mon, 15 Apr 2024 06:53:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="YtJZCmX4" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F9DF1EB30; Mon, 15 Apr 2024 06:53:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713163996; cv=none; b=UKXrZZSbiMrzY6WdzlzO85VDdhpwszv6HjdF+Rem8A7W7+FLhPoQa9dMjIE+K16iex2fJLpCNWwYoDrtHBYxcNXPQYuclFTUmgmcnCK55AcWzoUmW51tOs6n/yPTw4O4fXRaK3jqG1XEsG41sOHBXCkbXJvMrhVzZIdd6N/uRdE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713163996; c=relaxed/simple; bh=9Soc2Qo07sCZ8eMWp3+CQGUdGqKuLqNVP7Qq79vmnQc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=alhRzQM6lLIOAQe5oiGpcctAOebSVF+l5yOFrseyguBvtSKx9/w7iHHK1EmDxsLNU4eXw21pjxjL/cqmHcg4Ts7LKGLmgKNkbTA1kgMd+HDPnM/5xt/Avrzbn3BzbZU4iJef7cXsU69cAGeQZ/MQDvFDCYWHUq2Rj3Mvoc/DMr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=YtJZCmX4; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713163995; x=1744699995; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9Soc2Qo07sCZ8eMWp3+CQGUdGqKuLqNVP7Qq79vmnQc=; b=YtJZCmX4C8CJQPQBheS28pbm/Y9dyKCKu2a+8QSchXozREGlLDolMoNi 8FBjhNRiYMv/b6TFH5Jq1Hv5hNnugHan2XyddeRVPM4m6ooLMmNKLmpZu PabeFRz+7cc0ljcspQVU9jpoN9iw929f2ovVSOa138sgyIw8SLedLp/Xf Q6g4dQ93M+5ldIN9A6wl2ZcMuzoApbK/nPXWOdY7Gs11rD3floPe3XDbn eBUvGHGitmVDLmFmdlm13nppDcT2bMGQj2zS/hU2nC43pZLG6T4mmfRDp VJ4cJJ+2fP7wFIoDD4zDXJDiYr2kCFysw/14H3e+oDsOriOC+czvt8n39 w==; X-CSE-ConnectionGUID: Nd36ad9VQXGT2c+VE8af1A== X-CSE-MsgGUID: h/iqeO82SjmlMH5ubC7T0Q== X-IronPort-AV: E=McAfee;i="6600,9927,11044"; a="12381350" X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="12381350" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2024 23:53:15 -0700 X-CSE-ConnectionGUID: fLzT8YWXS2e79o7jH8xqmQ== X-CSE-MsgGUID: pkQyKVBiSoKT56q5LbaPYw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="21806539" Received: from kuha.fi.intel.com ([10.237.72.185]) by fmviesa010.fm.intel.com with SMTP; 14 Apr 2024 23:53:12 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Mon, 15 Apr 2024 09:53:10 +0300 Date: Mon, 15 Apr 2024 09:53:10 +0300 From: Heikki Krogerus To: AngeloGioacchino Del Regno Cc: gregkh@linuxfoundation.org, dmitry.baryshkov@linaro.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] usb: typec: mux: it5205: Fix ChipID value typo Message-ID: References: <20240409113646.305105-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240409113646.305105-1-angelogioacchino.delregno@collabora.com> On Tue, Apr 09, 2024 at 01:36:46PM +0200, AngeloGioacchino Del Regno wrote: > The ChipID bytes are read in inverse order: invert the ChipID value > defined as IT5205FN_CHIP_ID and used for validating the same. > > Fixes: 41fe9ea1696c ("usb: typec: mux: Add ITE IT5205 Alternate Mode Passive MUX driver") > Signed-off-by: AngeloGioacchino Del Regno Acked-by: Heikki Krogerus > --- > drivers/usb/typec/mux/it5205.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/mux/it5205.c b/drivers/usb/typec/mux/it5205.c > index 5535932e42cd..4357cc67a867 100644 > --- a/drivers/usb/typec/mux/it5205.c > +++ b/drivers/usb/typec/mux/it5205.c > @@ -22,7 +22,7 @@ > #include > > #define IT5205_REG_CHIP_ID(x) (0x4 + (x)) > -#define IT5205FN_CHIP_ID 0x35323035 /* "5205" */ > +#define IT5205FN_CHIP_ID 0x35303235 /* "5025" -> "5205" */ > > /* MUX power down register */ > #define IT5205_REG_MUXPDR 0x10 > -- > 2.44.0 -- heikki