aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/neon.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2019-08-05 17:55:15 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-08-05 17:42:24 +0100
commitb9ddd5091160793ee9fac10da765cf3f53d2aaf0 (patch)
treeea5b484b9328fcd9c9379f1ac46f8c53093ac9e1 /arch/arm64/include/asm/neon.h
parent82a5008a341d301da3ab529ca888c64f529bd075 (diff)
downloadlinux-b9ddd5091160793ee9fac10da765cf3f53d2aaf0.tar.gz
iio: adc: max9611: Fix temperature reading in probe
The max9611 driver reads the die temperature at probe time to validate the communication channel. Use the actual read value to perform the test instead of the read function return value, which was mistakenly used so far. The temperature reading test was only successful because the 0 return value is in the range of supported temperatures. Fixes: 69780a3bbc0b ("iio: adc: Add Maxim max9611 ADC driver") Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'arch/arm64/include/asm/neon.h')
0 files changed, 0 insertions, 0 deletions