spi: rockchip: Unmask IRQ at the final to avoid preemption
authorJon Lin <jon.lin@rock-chips.com>
Fri, 17 Jun 2022 12:42:51 +0000 (20:42 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jun 2022 10:35:43 +0000 (11:35 +0100)
commit419bc8f681a0dc63588cee693b6d45e7caa6006c
tree8059d2c1b775410db898d1e183efd583f66e4def
parent6aa27071e4354c351d98e345fc888b70f335f185
spi: rockchip: Unmask IRQ at the final to avoid preemption

Avoid pio_write process is preempted, resulting in abnormal state.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Signed-off-by: Jon <jon.lin@rock-chips.com>
Link: https://lore.kernel.org/r/20220617124251.5051-1-jon.lin@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c