From: Peter Meerwald Date: Sun, 21 Jun 2015 21:50:21 +0000 (+0200) Subject: iio: tmp006: Check channel info on write X-Git-Tag: omap-for-v4.3/fixes-merge-window~229^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d05abfaeff52bdf66aba3a3a337dcdbdb4911bf;p=pandora-kernel.git 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 Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed