commit | 8d05abfaeff52bdf66aba3a3a337dcdbdb4911bf | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Sun Jun 21 23:50:21 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 05 14:22:33 2015 +0100 |
tree | 3fec769bd0171702b4dfd794ecda1d397fe41ed1 | |
parent | 897993fecbb8e6292aaa4079815f0793dcf6de8b [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>