[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230531084428.GG68926@ediswmail.ad.cirrus.com>
Date: Wed, 31 May 2023 08:44:28 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: "Mahapatra, Amit Kumar" <amit.kumar-mahapatra@....com>
CC: "broonie@...nel.org" <broonie@...nel.org>,
"lee@...nel.org" <lee@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"vkoul@...nel.org" <vkoul@...nel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"conor+dt@...nel.org" <conor+dt@...nel.org>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"yung-chuan.liao@...ux.intel.com" <yung-chuan.liao@...ux.intel.com>,
"sanyog.r.kale@...el.com" <sanyog.r.kale@...el.com>,
"pierre-louis.bossart@...ux.intel.com"
<pierre-louis.bossart@...ux.intel.com>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"patches@...nsource.cirrus.com" <patches@...nsource.cirrus.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"git (AMD-Xilinx)" <git@....com>
Subject: Re: [PATCH v2 5/6] spi: cs42l43: Add SPI controller support
On Wed, May 31, 2023 at 05:26:46AM +0000, Mahapatra, Amit Kumar wrote:
> > + if (spi->chip_select == 0)
>
> New set/get APIs for accessing spi->chip_select were introduced by
> https://github.com/torvalds/linux/commit/303feb3cc06ac0665d0ee9c1414941200e60e8a3
> please use these APIs instead of accessing spi->chip_select directly.
>
> > + /* select another internal CS, which doesn't exist, so CS 0 is not used */
> > + if (spi->cs_gpiod)
>
> Same here for spi->cs_gpio
>
Thanks, I will get these fixed up for v3.
Thanks,
Charles
Powered by blists - more mailing lists