Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1726224lqs; Sun, 16 Jun 2024 01:47:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrj0h5Trv0DY7D2TrrglkerwNyodVgtYlhmOJ7VP9hCh5eP/Y6gkFxAoYJqIEEf2I474eQjcRjH6ukxEX3vIAB5cjEiklInlQaNh4S5g== X-Google-Smtp-Source: AGHT+IG3EyEjcpzk802hXTotAJYVnxc15pjr6LgqR+UPg7zMgkTOg2NmIAxQCOUtrsV08U2DZMAH X-Received: by 2002:a05:6808:d52:b0:3d2:27de:73f7 with SMTP id 5614622812f47-3d24e8afa35mr6859085b6e.8.1718527625250; Sun, 16 Jun 2024 01:47:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718527625; cv=pass; d=google.com; s=arc-20160816; b=SPfGPa/V0g8r+Ivffsct84ayPyP4h+HpTd9ubwPC0g6K9J3GH6eB8aKtWir+K91PbH LfqvmBmdDlNuIp65JqeQMJdu9g5cmHMRQzxdOywQSQs8kndg4PbcGoUqBAgm5qoEM13K 6Er4iVYgjcwTKy+0DrqRxOjU9qBXdfZUZg3xHFN0hHhgW0+p8unqwY5nTA/t0Mrmmq6b GtBLTSDoaUGSTJo7au+XoYKYdAU4yEcW7/wYcHaKETZHORPMYdMUiWOjXSasM+ReMyEK /LxaHjqBu6z9AIzOaNmEx6DqfSQaaFUBiaCd+Pq8eqNH/ITM2wRUh7ytUVmJnE35eup/ eoYg== 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=CX71xbp8zBdJb9FFGr78worqTH2WkzIl8c3mAtM9+CM=; fh=a7O57hdAKaTBoRnW0de4DjRrFYfm0/LE9hWeS0qZUmI=; b=sKBeinWaf1Mel/xEcu+svnK39qXL0j97ZpqHrmauvFny56OwB6oiztIsKSsWd0J3Jk 0oS0KT6Z/4tDu5lYD1NIKmisGe08f6zSxyrR/3XvnvObcM5zVA2oAkAChiz/sL57ohZV 0fD1CpCg8g+fzhS+cSHgF6Rep/zGbI5g08JeTL+oez/fPccT3uk19BWtGwkw3EOGwgFL SzW1hkduz7dHKQIriaPQM7NJghqkpfjegWXsh46WecuYQmL6INA8fIkzZSs3NpD7ckI3 B8D2i7rgbEoIHMa2ua5bCM64VjBfBfgOqVoyfuB2bUffDtMHuhkO4HWJZgTGH/bvo4iu Tsyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N2OHdvVK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705cc961e28si7213180b3a.122.2024.06.16.01.47.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 01:47:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216206-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=@kernel.org header.s=k20201202 header.b=N2OHdvVK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216206-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 9AAA128145B for ; Sun, 16 Jun 2024 08:47:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02C69180A76; Sun, 16 Jun 2024 08:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N2OHdvVK" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 23466944F; Sun, 16 Jun 2024 08:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718527612; cv=none; b=ulL9vymqshYN199fGXyt/AXE2LbjRvQ1FEVfnDytIUyEPyhNl+X5Kf7JlJoCxt7MrbuzKYF5v2/tP8E+4eF90Yj0hr+7Nbsj2RouRQegUWGpGHl4YcIpVw2u+QdGm6NwR9YEpQpEYNG0VlsE0/cMc51Ki+Q5AGRPyXKliH0XKqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718527612; c=relaxed/simple; bh=nQ/vCqxQ64G/dU866VmZFNtnjndHdvzguYFblH2UCDY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e0yl6qwyvSD3A+dIaB7mlcmmwUL7wKpeuY37sodX38HhQn0KCCKdSp9M/QRKU7GCI+MD1gHFFldTmVwNzftUvLhX/+APx9WC/nuKow0PX9bc/24kY7KeRIAIjIV0Rt5tp7rCWHVtZ0s5MLO84gjWINofBOgRC3A5AM+08/PF5S8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N2OHdvVK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18B01C2BBFC; Sun, 16 Jun 2024 08:46:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718527611; bh=nQ/vCqxQ64G/dU866VmZFNtnjndHdvzguYFblH2UCDY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N2OHdvVKgDV+k8tBQb+6fbyD7clBj1Ae+BaJCTTdzJQNSHTbIIYCAmvRZnVnpuMUQ 0S04uOl50zNEJJV8ztTxdj1bG/H9Z2GJDy4jm71ycJ7t2pwMCiXtH6MlepC8uFGxhI y1+hq6cpVQ4Xs/SONuFzbQRyx9v7P4nHz+F2+BR92quaY1ANm+vlOBMZBjdqcj4rvN B9MAsRbOoevugcbQlQ3NRrg/S1BbLm29qkIOdxzXKMW3gSolOFTsYK7BkiTW/iadfp L1mAbgaHwc/LdwyEjUw+ojql6oqoXtzAWCAV66s1MbPjE3dn4GGeYq50Fz7kHFL4+j OIWYMuetZQcVQ== Date: Sun, 16 Jun 2024 17:46:45 +0900 From: William Breathitt Gray To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Fabrice Gasnier , Maxime Coquelin , Alexandre Torgue , Lee Jones , linux-iio@vger.kernel.org, linux-pwm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] mfd: stm32-timers: Drop TIM_DIER_CC_IE(x) in favour of TIM_DIER_CCxIE(x) Message-ID: References: <0735860960b1b38570bffa5b0de81a97f6e3230e.1718352022.git.u.kleine-koenig@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dCl7/OXUWXzDpqmf" Content-Disposition: inline In-Reply-To: <0735860960b1b38570bffa5b0de81a97f6e3230e.1718352022.git.u.kleine-koenig@baylibre.com> --dCl7/OXUWXzDpqmf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2024 at 10:10:13AM +0200, Uwe Kleine-K=F6nig wrote: > These two defines have the same purpose and this change doesn't > introduce any differences in drivers/counter/stm32-timer-cnt.o. >=20 > The only difference between the two is that >=20 > TIM_DIER_CC_IE(1) =3D=3D TIM_DIER_CC2IE >=20 > while >=20 > TIM_DIER_CCxIE(1) =3D=3D TIM_DIER_CC1IE >=20 > . That makes it necessary to have an explicit "+ 1" in the user code, > but IMHO this is a good thing as this is the code locatation that > "knows" that for software channel 1 you have to use TIM_DIER_CC2IE > (because software guys start counting at 0, while the relevant hardware > designer started at 1). >=20 > Signed-off-by: Uwe Kleine-K=F6nig I concur with Lee Jones that the subject should be renamed. Regardless, here's my ack for the code changes. Acked-by: William Breathitt Gray --dCl7/OXUWXzDpqmf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZm6mdQAKCRC1SFbKvhIj K30lAQDsaSV5Lc4QTe+SNucCUL6Fa1IDxYIgK4zoGmqxb9xPwwD9F2jDmowZBtn1 G4nggdLs3gGlZTYbXuMu9YnjuVjaTgk= =v9Mi -----END PGP SIGNATURE----- --dCl7/OXUWXzDpqmf--