summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2020-06-16 03:40:46 -0700
committerMark Brown <broonie@kernel.org>2020-06-18 14:08:09 +0100
commit539afdf969d6ad7ded543d9abf14596aec411fe9 (patch)
tree0ec317b96f32e3c4f11fc68db6cfcc4574785520 /drivers/spi/Kconfig
parent0eeadddbf09a7a36ef1bc8021df1a770dc4b5370 (diff)
downloadlwn-539afdf969d6ad7ded543d9abf14596aec411fe9.tar.gz
lwn-539afdf969d6ad7ded543d9abf14596aec411fe9.zip
spi: spi-geni-qcom: No need for irqsave variant of spinlock calls
The driver locks its locks in two places. In the first usage of the lock the function doing the locking already has a sleeping call and thus we know we can't be called from interrupt context. That means we can use the "spin_lock_irq" variant of the function. In the second usage of the lock the function is the interrupt handler and we know interrupt handlers are called with interrupts disabled. That means we can use the "spin_lock" variant of the function. This patch is expected to be a no-op and is just a cleanup / slight optimization. Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20200616034044.v3.1.Ic50cccdf27d42420a63485082f8b5bf86ed1a2b6@changeid Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions