[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK9rFnwfTza6dVehO6mmiae=9yKXdJFXUetjW3BuGtEasgp1-Q@mail.gmail.com>
Date: Sun, 3 Jul 2022 14:09:03 -0700
From: Brad Larson <brad@...sando.io>
To: Mark Brown <broonie@...nel.org>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-mmc <linux-mmc@...r.kernel.org>,
Adrian Hunter <adrian.hunter@...el.com>, alcooperx@...il.com,
Andy Shevchenko <andy.shevchenko@...il.com>,
Arnd Bergmann <arnd@...db.de>, blarson@....com,
catalin.marinas@....com, gsomlo@...il.com, gerg@...ux-m68k.org,
krzk@...nel.org, krzysztof.kozlowski+dt@...aro.org,
lee.jones@...aro.org,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
p.zabel@...gutronix.de, Pratyush Yadav <p.yadav@...com>,
rdunlap@...radead.org, robh+dt@...nel.org, samuel@...lland.org,
Serge Semin <fancer.lancer@...il.com>,
suravee.suthikulpanit@....com, thomas.lendacky@....com,
Ulf Hansson <ulf.hansson@...aro.org>, will@...nel.org,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>
Subject: Re: [PATCH v5 11/15] spi: cadence-quadspi: Add compatible for AMD
Pensando Elba SoC
Hi Mark,
On Tue, Jun 14, 2022 at 5:01 AM Mark Brown <broonie@...nel.org> wrote:
>
> On Mon, Jun 13, 2022 at 12:56:54PM -0700, Brad Larson wrote:
>
> > + /*
> > + * If a hazard exists between the APB and AHB interfaces, perform a
> > + * dummy readback from the controller to ensure synchronization.
> > + */
> > + if (cqspi->apb_ahb_hazard)
> > + (void)readl(reg_base + CQSPI_REG_INDIRECTWR);
>
> You shouldn't need the cast here.
Removed (void) cast
Regards,
Brad
Powered by blists - more mailing lists