Skip to content
Unverified Commit 82d02944 authored by Serge Semin's avatar Serge Semin Committed by Mark Brown
Browse files

spi: dw: Perform IRQ setup in a dedicated function



In order to make the transfer_one() callback method more readable and
for unification with the DMA-based transfer, let's detach the IRQ setup
procedure into a dedicated function. While at it rename the IRQ-based
transfer handler function to be dw_spi-prefixe and looking more like the
DMA-related one.

Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201007235511.4935-11-Sergey.Semin@baikalelectronics.ru
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ddcc2733
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment