aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2020-05-15 17:58:01 +0200
committerMark Brown <[email protected]>2020-05-20 15:16:10 +0100
commit84855678add8aba927faf76bc2f130a40f94b6f7 (patch)
tree3dc0802c76bace05d5e969f61fc3dede0d580fe5 /scripts/gdb/linux/timerlist.py
parent0392727c261bab65a35cd4f82ee9459bc237591d (diff)
spi: Fix controller unregister order
When an SPI controller unregisters, it unbinds all its slave devices. For this, their drivers may need to access the SPI bus, e.g. to quiesce interrupts. However since commit ffbbdd21329f ("spi: create a message queueing infrastructure"), spi_destroy_queue() is executed before unbinding the slaves. It sets ctlr->running = false, thereby preventing SPI bus access and causing unbinding of slave devices to fail. Fix by unbinding slaves before calling spi_destroy_queue(). Fixes: ffbbdd21329f ("spi: create a message queueing infrastructure") Signed-off-by: Lukas Wunner <[email protected]> Cc: [email protected] # v3.4+ Cc: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/8aaf9d44c153fe233b17bc2dec4eb679898d7e7b.1589557526.git.lukas@wunner.de Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions