Skip to content

Commit 22d35e4

Browse files
Amit Kumar Mahapatrabroonie
authored andcommitted
spi: spi-cadence: Update ISR status variable type to irqreturn_t
Data type of status variable, that hold the return value of the ISR, should be irqreturn_t & not u32. This patch updates status variable type to irqreturn_t. Signed-off-by: Amit Kumar Mahapatra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 75d6fe4 commit 22d35e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/spi/spi-cadence.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ static irqreturn_t cdns_spi_irq(int irq, void *dev_id)
342342
{
343343
struct spi_master *master = dev_id;
344344
struct cdns_spi *xspi = spi_master_get_devdata(master);
345-
u32 intr_status, status;
345+
irqreturn_t status;
346+
u32 intr_status;
346347

347348
status = IRQ_NONE;
348349
intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR);

0 commit comments

Comments
 (0)