From: Vianney le Clément de Saint-Marcq Date: Mon, 30 Mar 2015 08:35:02 +0000 (+0200) Subject: iio: mlx90614: Check for errors in read values X-Git-Tag: omap-for-v4.3/legacy-v2-signed~121^2~761^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02e0f8f62f786e9291caf4633e20724c2ab7f99;p=pandora-kernel.git iio: mlx90614: Check for errors in read values The device uses the MSB of the returned temperature value as an error flag. Return a read error when this bit is set. Signed-off-by: Vianney le Clément de Saint-Marcq Cc: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed