Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5731984pxv; Wed, 7 Jul 2021 10:27:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKn8dNwycVH+YIePVZa83U0Ho1SUdzCsAM15wD9jpDybH2W0BCJrtAlI1l6MTiyxhg726T X-Received: by 2002:a05:6402:1acf:: with SMTP id ba15mr11042911edb.167.1625678831409; Wed, 07 Jul 2021 10:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625678831; cv=none; d=google.com; s=arc-20160816; b=iv7+luQInY+tFa9B+t+qRC8f2OPnwbU3LAzQTdhWyRSkG5eWSRQ9056Mbq1qq61Q2r HIdNtE82eZ3w/8exUX+SB9JteAYzG3HTb2u/ePQz400b+TPTH9B4yFUZAQ1HQXWkjZjL tHUtk1XUTZ13oiYRpC0J8EhGOmvIzUL44ESGdRZh2radkhGlipRzZTd/imf2yhtE9Ozu SOkCUWwUyU2Eucn6jCsq5JOEEBIOilEO+zA7nuS1FW0XziC7bEfolidj3hDOGonTSN+q OWAAY0toniZqJObS/XsbiNjTgECUlpiPxOGjE/Qv/EKSKjByb5oz0sCgeM3s+HJ5K6I9 LuSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NIbfG66KAWJJ+1dCBnrjwnupHtHIjc63snwKL5b93wE=; b=p0IoyZHOsQuk0+aEoLK3w1N7CcBJR/2JtN6nQ1RWUVrTfCMg+G7FNMtuexRT900iVC ixJbhtFV+5EJVjez9D36NiFCNNeKg7TvqYSENs8TsrxjLQKq2yKyQL0kOGTmtnhtTZeT iSIYjxtflHQIh74b1xzRZK6IpBcoC3rmqi3MCAZp6Jp8ZYus6mpfe6BakbZQ0UFTyfNr RQt91Ww0sH/Fpv0A5A2A+ksRPZ7eMYvAnP4KjAMFBvNPoi3ya6hz9ytIBxrekWe7pkA/ ngIJW86W+A6ygBqKDYEqu+amzqqz7tSirm1hyx1jCGnQAmi5GK6CGuflkkCBFkINjwrp rB1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nz2KU2Jb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb8si18629667ejc.127.2021.07.07.10.26.47; Wed, 07 Jul 2021 10:27:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nz2KU2Jb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbhGGQUn (ORCPT + 99 others); Wed, 7 Jul 2021 12:20:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:58194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbhGGQUn (ORCPT ); Wed, 7 Jul 2021 12:20:43 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2240461CC2; Wed, 7 Jul 2021 16:18:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625674682; bh=3CVrcJTXPYuxSS/j2wHuKVTsifDFv5fStRhTCq4ZIIo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nz2KU2Jb2fjznSkmLR8T9eDTn35e8u1QGCxa+EVbAOiZiF6mNLovNDfRyF2Aki1zL 4Ea9K2/HwQupgDchxi7HyO9FwwaC8bhFJtKlmQx4OjetRf5hzv9AFcQbh/wULVMp79 3xoXc+DBmO7qv3lT041wIZ3ZwyOReyC2UabOq3CRqV2tAM7QSRvAgZZ8bU/LcnS/Xx 3C+sXLNRFwEchBJSPxkhtBlIsuVBMmnLdf2KcKwoWBntnqR326JTgp9buT2Zrg4Qqw 5I+XqcmTUKLXBpINc8xY1mN2DDJCZ6VBp6sr8Z6w20QsW6+xaBcXZXjoXyM8Yuvdgk hYlTm3mW27Rag== Date: Wed, 7 Jul 2021 17:17:30 +0100 From: Mark Brown To: Vijendar Mukunda Cc: alsa-devel@alsa-project.org, Alexander.Deucher@amd.com, Sunil-kumar.Dommati@amd.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , open list Subject: Re: [PATCH 02/12] ASoC: amd: add Vangogh ACP PCI driver Message-ID: <20210707161730.GE4394@sirena.org.uk> References: <20210707055623.27371-1-vijendar.mukunda@amd.com> <20210707055623.27371-3-vijendar.mukunda@amd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RE3pQJLXZi4fr8Xo" Content-Disposition: inline In-Reply-To: <20210707055623.27371-3-vijendar.mukunda@amd.com> X-Cookie: I will never lie to you. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --RE3pQJLXZi4fr8Xo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 07, 2021 at 11:26:13AM +0530, Vijendar Mukunda wrote: > +static inline u32 acp_readl(void __iomem *base_addr) > +{ > + return readl(base_addr - ACP5x_PHY_BASE_ADDRESS); > +} I see this was the same for Renoir but it's weird that the read and write functions are substracting rather than adding the base address here. A comment might be good. --RE3pQJLXZi4fr8Xo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmDl05oACgkQJNaLcl1U h9BQ/Qf+I44B9D46yvA5DrXifzyD6B4n/K2QaDtHbog1HFtL1zbtiiATxdhLtYIS yXeKEGxzcSmW+DgUaIMLf8kYbnoVTv1CIuAb6EpYWUVKIWlGHQ3n9QPoYuYIutvl itaiB/rrOuisxmm1W8IQb0XL3DKywXFFRjnfqiC4d0z88U90gh58Ox3P8NgWMAsY m84CWKyIJTagN7j0SXN8YizkoD/yBIS6eXa5l/jZ5lw9LlF2EqwBqEB7JegjnyqB 7Pf8CArQHsjn4+4IaPBVga6RmVukipqH4N+CfaXmOV8GbhvGnLEyvk7thJ4MbmvY 5BeHPpwe/hgvPfHZqDSFVOL84r7wsg== =m2hI -----END PGP SIGNATURE----- --RE3pQJLXZi4fr8Xo--