Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'soundwire-6.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire

Pull soundwire fix from Vinod Koul:

- Fix for irq domain creation race in the core

* tag 'soundwire-6.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
soundwire: bus: Fix race on the creation of the IRQ domain

+5 -4
+5 -4
drivers/soundwire/bus.c
··· 122 122 set_bit(SDW_GROUP13_DEV_NUM, bus->assigned); 123 123 set_bit(SDW_MASTER_DEV_NUM, bus->assigned); 124 124 125 + ret = sdw_irq_create(bus, fwnode); 126 + if (ret) 127 + return ret; 128 + 125 129 /* 126 130 * SDW is an enumerable bus, but devices can be powered off. So, 127 131 * they won't be able to report as present. ··· 142 138 143 139 if (ret < 0) { 144 140 dev_err(bus->dev, "Finding slaves failed:%d\n", ret); 141 + sdw_irq_delete(bus); 145 142 return ret; 146 143 } 147 144 ··· 160 155 bus->params.curr_dr_freq = bus->params.max_dr_freq; 161 156 bus->params.curr_bank = SDW_BANK0; 162 157 bus->params.next_bank = SDW_BANK1; 163 - 164 - ret = sdw_irq_create(bus, fwnode); 165 - if (ret) 166 - return ret; 167 158 168 159 return 0; 169 160 }