lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 11/15] spi: cadence-quadspi: Add compatible for AMD Pensando Elba SoC
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-06-14 14:02    [W:0.268 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site