spi_imx stopped working with 5.9.11
SPI flash started working with 5.9.0 and then oops now with 5.9.11
[ 1.972891] spi_imx 30820000.spi: bitbang start failed with -517 [514/1976]
[ 1.978929] ------------[ cut here ]------------
[ 1.978932] ecspi1_root_clk already disabled
[ 1.979000] WARNING: CPU: 1 PID: 1 at drivers/clk/clk.c:952 clk_core_disable+0x25c/0x298
[ 1.979003] Modules linked in:
[ 1.979013] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.9.11-librem5-00012-gba9f1c292178 #331
[ 1.979016] Hardware name: Purism Librem 5r4 (DT)
[ 1.979022] pstate: 60000085 (nZCv daIf -PAN -UAO BTYPE=--)
[ 1.979028] pc : clk_core_disable+0x25c/0x298
[ 1.979034] lr : clk_core_disable+0x25c/0x298
[ 1.979037] sp : ffff8000115dbaf0
[ 1.979040] x29: ffff8000115dbaf0 x28: 0000000000000000
[ 1.979045] x27: ffff0000a338a800 x26: ffff800011597f88
[ 1.979051] x25: ffff800010ddb5d8 x24: ffff0000a6db8000
[ 1.979056] x23: ffff0000a645c410 x22: ffff0000a338a800
[ 1.979061] x21: ffff0000a33dc800 x20: ffff0000a325c400
[ 1.979067] x19: ffff0000a325c400 x18: 0000000000000010
[ 1.979072] x17: 0000000000000000 x16: 0000000000000001
[ 1.979077] x15: ffff0000a6db8468 x14: ffffffffffffffff
[ 1.979082] x13: 0000000000000000 x12: ffff800011522000
[ 1.979087] x11: ffff8000113a9000 x10: ffff800011522890
[ 1.979093] x9 : ffff800010099a30 x8 : 0000000000000004
[ 1.979097] x7 : 000000000000009f x6 : ffff800011522000
[ 1.979103] x5 : 0000000000000000 x4 : 0000000000000000
[ 1.979107] x3 : 00000000ffffffff x2 : ffff8000113a9d38
[ 1.979113] x1 : 0000000000000000 x0 : 0000000000000000
[ 1.979119] Call trace:
[ 1.979126] clk_core_disable+0x25c/0x298
[ 1.979132] clk_core_disable_lock+0x2c/0x48
[ 1.979138] clk_disable+0x28/0x38
[ 1.979147] spi_imx_probe+0x450/0x670
[ 1.979155] platform_drv_probe+0x5c/0xb0
[ 1.979161] really_probe+0xf0/0x4d8
[ 1.979165] driver_probe_device+0xfc/0x168
[ 1.979170] device_driver_attach+0x7c/0x88
[ 1.979175] __driver_attach+0xac/0x178
[ 1.979180] bus_for_each_dev+0x78/0xd0
[ 1.979184] driver_attach+0x2c/0x38
[ 1.979189] bus_add_driver+0x14c/0x230
[ 1.979193] driver_register+0x6c/0x128
[ 1.979199] __platform_driver_register+0x50/0x60
[ 1.979207] spi_imx_driver_init+0x28/0x34
[ 1.979214] do_one_initcall+0x4c/0x2c8
[ 1.979222] kernel_init_freeable+0x1ec/0x254
[ 1.979229] kernel_init+0x1c/0x11c
[ 1.979233] ret_from_fork+0x10/0x34
[ 1.979243] ---[ end trace 2928e0c777b3970b ]---
Edited by Angus Ainslie