Re: [PATCH v2 0/2] staging: iio: adc: ad7192: use private driver lock to protect hardware changes

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

 



On 09/26/2017 05:41 PM, Aastha Gupta wrote:
> The IIO subsystem is redefining iio_dev->mlock to be used by
> the IIO core only for protecting device operating mode changes.
> ie. Changes between INDIO_DIRECT_MODE, INDIO_BUFFER_* modes.
> 
> These patches 
> - replace mlock with private driver lock 
> - add lock where there are hardware state changes 

For this to make sense both changes need to be in the same patch. You are
removing the protection in patch 1 and then adding it back in patch 2. A
patch series shouldn't leave the driver in a broken intermediate state if
only part of the series is applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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