Loading
iio: tmp006: Check channel info on write
[ Upstream commit f451957dafe712ab2cd4b7ca8ba9197798115fbe ] 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> Signed-off-by:
Sasha Levin <sasha.levin@oracle.com>