projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d6fe4
)
spi: spi-cadence: Update ISR status variable type to irqreturn_t
author
Amit Kumar Mahapatra
<amit.kumar-mahapatra@xilinx.com>
Thu, 12 May 2022 14:50:25 +0000
(20:20 +0530)
committer
Mark Brown
<broonie@kernel.org>
Fri, 13 May 2022 12:43:05 +0000
(13:43 +0100)
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 <amit.kumar-mahapatra@xilinx.com>
Link:
https://lore.kernel.org/r/20220512145025.20205-1-amit.kumar-mahapatra@xilinx.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-cadence.c
b/drivers/spi/spi-cadence.c
index b509eefe16a8c92b44517d4b68783cac93788ca1..a23d4f6329f501f0ce32bac18bf1307e7e827494 100644
(file)
--- a/
drivers/spi/spi-cadence.c
+++ b/
drivers/spi/spi-cadence.c
@@
-342,7
+342,8
@@
static irqreturn_t cdns_spi_irq(int irq, void *dev_id)
{
struct spi_master *master = dev_id;
struct cdns_spi *xspi = spi_master_get_devdata(master);
- u32 intr_status, status;
+ irqreturn_t status;
+ u32 intr_status;
status = IRQ_NONE;
intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR);