summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2016-08-25 19:45:33 +0300
committerJonathan Cameron <jic23@kernel.org>2016-09-03 19:26:14 +0300
commit1c500840934a138bd6b13556c210516e9301fbee (patch)
treee1c16632a11450a0c10ea2c7198c68cf1d0ad157 /tools/perf/scripts
parent36afb176d3c9580651d7f410ed7f000ec48b5137 (diff)
downloadlinux-1c500840934a138bd6b13556c210516e9301fbee.tar.xz
iio: accel: bmc150: reset chip at init time
In at least one known setup, the chip comes up in a state where reading the chip ID returns garbage unless it's been reset, due to noise on the wires during system boot. All supported chips have the same reset method, and based on the datasheets they all need 1.3 or 1.8ms to recover after reset. So, do the conservative thing here and always reset the chip. Signed-off-by: Olof Johansson <olof@lixom.net> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions