Searched hist:"5 e02bac3" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/common/st_sensors/ |
H A D | st_sensors_core.c | 5e02bac3 Thu Apr 30 08:15:49 CDT 2015 Linus Walleij <linus.walleij@linaro.org> iio: st_sensors: make detection more helpful
The ST sensors are detected by reading a WhoAmI register and matching the number found to a sensor name string. To make it easier to figure out what happens when things go wrong, print the WhoAmI value and the device name we're trying to match.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org> 5e02bac3 Thu Apr 30 08:15:49 CDT 2015 Linus Walleij <linus.walleij@linaro.org> iio: st_sensors: make detection more helpful The ST sensors are detected by reading a WhoAmI register and matching the number found to a sensor name string. To make it easier to figure out what happens when things go wrong, print the WhoAmI value and the device name we're trying to match. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
|