Re: [PATCH v3 2/2] iio: adc: ti-ads1298: Add driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 06, 2024 at 04:44:03PM +0100, Mike Looijmans wrote:
> On 06-02-2024 16:09, Andy Shevchenko wrote:
> > On Tue, Feb 06, 2024 at 03:47:45PM +0100, Mike Looijmans wrote:

...

> > But it's up to you what to do with that.
> > Maybe Jonathan can advice something different.
> > 
> The spinlock also protects the call to spi_async().

I don't get this. Locks usually protect the data and not the code.
Can you elaborate?

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux