commit | f451957dafe712ab2cd4b7ca8ba9197798115fbe | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Sun Jun 21 23:50:21 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 19 11:48:18 2015 +0100 |
tree | b5a23e3c949e109516fddb8a81b796e61b972136 | |
parent | 06b00f99ca8a0ec79f5d428dfb128abd14162c57 [diff] |
iio: tmp006: Check channel info on write only SAMP_FREQ is writable Will lead to SAMP_FREQ being written by any attempt to write to the other exported attributes and hence a rather unexpected result! Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>