From: Varsha Rao <rvarsha016@gmail.com>
To: Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
Hartmut Knaack <knaack.h@gmx.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Barry Song <21cnbao@gmail.com>,
linux-iio@vger.kernel.org
Cc: outreachy-kernel@googlegroups.com
Subject: [PATCH 2/2] staging: iio: adis16240: Modify existing comment.
Date: Mon, 13 Mar 2017 14:53:57 +0530 [thread overview]
Message-ID: <58c66533.42d5620a.3e22a.3a06@mx.google.com> (raw)
In-Reply-To: <cover.1489395260.git.rvarsha016@gmail.com>
Modify the existing comment to reflect the changes from mlock to
txrx_lock.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
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 */
mutex_lock(&st->txrx_lock);
ret = adis16240_spi_read_signed(dev, attr, buf, 12);
mutex_unlock(&st->txrx_lock);
--
2.9.3
next prev parent reply other threads:[~2017-03-13 9:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1489395260.git.rvarsha016@gmail.com>
2017-03-13 9:23 ` [PATCH 1/2] staging: iio: adis16240: Replace mlock with driver private lock Varsha Rao
2017-03-13 11:47 ` Lars-Peter Clausen
2017-03-13 14:39 ` Varsha Rao
2017-03-13 9:23 ` Varsha Rao [this message]
2017-03-13 11:39 ` [PATCH 2/2] staging: iio: adis16240: Modify existing comment Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58c66533.42d5620a.3e22a.3a06@mx.google.com \
--to=rvarsha016@gmail.com \
--cc=21cnbao@gmail.com \
--cc=Michael.Hennerich@analog.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=outreachy-kernel@googlegroups.com \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox