On 03/13/2017 10:23 AM, Varsha Rao wrote: > Modify the existing comment to reflect the changes from mlock to > txrx_lock. > > Signed-off-by: Varsha Rao <rvarsha016@xxxxxxxxx> > --- > drivers/staging/iio/accel/adis16240.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/iio/accel/adis16240.c b/drivers/staging/iio/accel/adis16240.c > index c182b2d..aa3030c 100644 > --- a/drivers/staging/iio/accel/adis16240.c > +++ b/drivers/staging/iio/accel/adis16240.c > @@ -231,7 +231,7 @@ static ssize_t adis16240_read_12bit_signed(struct device *dev, > struct iio_dev *indio_dev = dev_to_iio_dev(dev); > struct adis *st = iio_priv(indio_dev); > > - /* Take the iio_dev status lock */ > + /* Take adis txrx_lock to protect sensor state */ This should be part of the patch that changes the lock. > mutex_lock(&st->txrx_lock); > ret = adis16240_spi_read_signed(dev, attr, buf, 12); > mutex_unlock(&st->txrx_lock); > -- 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