On Mon, May 04, 2015 at 05:50:11PM +0200, Martin Sperl wrote: > > On 04.05.2015, at 16:30, Mark Brown <broonie@xxxxxxxxxx> wrote: > > I'm not saying don't lock, I'm asking if adding this spinlock is the > > best way of doing this. We already lock the master most of the time, > > can we not continue using the same lock? > Tell me the lock to use and I am happy to handle it. > but a quick look shows that transfer_one_message is running without > a lock held… I didn't say don't take a lock, I said don't make a new lock. > But for that to work we will need to allocate spi_master_class > (among other things) dynamically - Let us see how that works. I'm not following this at all, sorry.
Attachment:
signature.asc
Description: Digital signature