Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp424658lqc; Fri, 8 Mar 2024 01:16:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU2Nc6iSOE0AnYjZxVsla7lMO9sBQu9rVdb/w4UYxZQd1RnZLUHHS32xsb+ZtrXYR6D8gF/mX+IqX5W8BGc3//s66a6chu1Dwubm46bHw== X-Google-Smtp-Source: AGHT+IGbDLrvlKtaJIXEyaXDDuRg1lSpxSouW96GusxthFF8cNqCy3nNKCkWMvIEkhBx3DdJQlaA X-Received: by 2002:a81:69c3:0:b0:609:e258:547a with SMTP id e186-20020a8169c3000000b00609e258547amr6622144ywc.24.1709889418454; Fri, 08 Mar 2024 01:16:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709889418; cv=pass; d=google.com; s=arc-20160816; b=EZL+JEUdXVA6QVJ3UaPWUQye5at0V1gfv+mcWk9RVIReTM0jzVHoI0OT6N4EFHJ2tB F7Sn1PT3OuGvljDiRmWBAtWM6iWHMDC+nCZry3HROf9yPpc+r/zIjEwfzJiqasjKwvAT 89NaiHZcjH76iGfohDmNjQMAzk4NhcqFJj+qTR7cR9WlkExjdJ/s2lQ47p8rrghAK0Db Iys9tkoSh56+10/Cn/g9623s2b+xa8Sg5/LF5oyVIaRnL9NH9O/ZU/R1PwToXYaHUpUG Er98EPk0cdI8e/T3ytNcVzmmuuXOQJu8KM3rOW1T1+DSnOwEmQYyHD/02CFXbCsBK4VH Scbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:from:to:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=x/eUvvh3JLX5kacQMX2jRA//mYfxfj755OY+r82KgEE=; fh=PLWYQa/SsrRmUoweQCAYBgo2MlXB4aKObXg9xY7m44Y=; b=JX4ysalBarTF8lKxvE5RYey4N0feH+928wYBfWvFjxAMH7Gb5tJ9yr6DADW2bVVYs5 zlQnHs6p3cqQC7U6jUX54JXcbkueTTe4IKXtfvblR95AsfPpZuitnaskbdWT93ZtqBZf 4mVlEJU2O3fj6/Z82UymuKQyAqmdTDCkRa43iTWLD2SDwI+j74mLHQ/A8fLC8j3KkYQe HBkxUM1p9kG1sBefukvwuKFzwTqye+jwytNjp1kZ6xD044gBeA7JC9uafjWLYQT/m26y fWEdCyPil7AZAa42EtsFm/bSGk0tWW5XEJWjHWjqbVQqmuJP0O0QNhMWSU6yCGUMrA7t FHNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dIMn+Hks; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-96728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a11-20020a05622a02cb00b0042ef35e58a1si10608229qtx.576.2024.03.08.01.16.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 01:16:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dIMn+Hks; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-96728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0D9631C21F14 for ; Fri, 8 Mar 2024 09:16:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70CF15339A; Fri, 8 Mar 2024 09:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dIMn+Hks" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 DA9E052F95; Fri, 8 Mar 2024 09:16:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709889408; cv=none; b=fcxzD3FwMZa4rPev3GTwB8VXPAh4q4vCzwJE86h8VQ9pxg+N8YnaZA5GHyov7KQ9vdCrYofk+U+6yVu6wTKFckKrdtD6grYXcx9+CMfSKvGrrVAZEsiQkqYefLSi2sOf3IwTa95s0HxDQQGl8jG7Nu2C/KdjhLm4lhnvk5kn0sY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709889408; c=relaxed/simple; bh=xbVhZnJdLgAXSnZlSiHw/Fm8YwHdcJLQZLzGDlbumec=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=sOkrgOzjKa6ghXeExyM3q/cgWCQrpV+f8jup95Frl7pKjawieMt1vv5Alx0RBy8lBNkICUJyRQ/v1hJ6X313xMBqTJ0TqpLda18O4LYG1FLUBWb8w8sI1QsTAwAUMZvcEmdv27PY5+7jeHw+tSwOPJB9QybTnvU/gLRnQxReCGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=dIMn+Hks; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id EF36F2000B; Fri, 8 Mar 2024 09:16:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709889403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x/eUvvh3JLX5kacQMX2jRA//mYfxfj755OY+r82KgEE=; b=dIMn+Hks7A6pLjEQgAaTNQSMOrYLL1yAQ7Cq7N9THIxDan38wv2QLOt7iLPwLriXl/bhMA f1obrhB1UvqQwpGDnbA52fSBK56DtwxpVreXh0EGatGiDV/mymaWca1s3Njckz4FY583h4 WpAJRR9/Rsm/Irt/BVEHCl1WcUy7hVMKz3I40Q0OcOQVecXKKvdMrqOwzQuYWAa4g1UTX3 p4r5CLXElTeG2KGd5+fnScBog5l1LkUmnUFhuAsn4QTif+3dubjg8NxxRB5p9cKzS5tGNy O4oCFsor/bG5brACEA35oTPDjxAAOvuGSfk/g5fYkU7Dz3oUiFYihe0/46bn5Q== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 08 Mar 2024 10:16:42 +0100 Message-Id: Cc: "Linus Walleij" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Thomas Bogendoerfer" , , , , , , "Gregory Clement" , "Vladimir Kondratiev" , "Thomas Petazzoni" , "Tawfik Bayouk" To: "Andi Shyti" From: =?utf-8?q?Th=C3=A9o_Lebrun?= Subject: Re: [PATCH v3 08/11] i2c: nomadik: support Mobileye EyeQ5 I2C controller X-Mailer: aerc 0.15.2 References: <20240306-mbly-i2c-v3-0-605f866aa4ec@bootlin.com> <20240306-mbly-i2c-v3-8-605f866aa4ec@bootlin.com> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com Hello Andi, On Fri Mar 8, 2024 at 12:11 AM CET, Andi Shyti wrote: > Hi Theo, > > ... > > > +static inline u8 nmk_i2c_readb(const struct nmk_i2c_dev *priv, > > + unsigned long reg) > > +{ > > + if (priv->has_32b_bus) > > + return readl(priv->virtbase + reg); > > + else > > + return readb(priv->virtbase + reg); > > +} > > you forgot to remove the else... not a problem, it's coherent > with its writeb counterpart. Yes I enjoy symmetry. :-) [...] > Looks good! > > Reviewed-by: Andi Shyti Thanks Andi! Any chance of seeing this series queued for v6.9? Regards, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com