commit | 00053566385e3e7a2f81f0fd2fa09bccce1589f2 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Mon Sep 26 20:20:20 2016 -0400 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Oct 01 14:57:04 2016 +0100 |
tree | 7d33515d97b4103e89a94a1db06dee9c55efa8d6 | |
parent | 5611cd6fc61dbccdba61656bea9c5c1634b51e46 [diff] |
staging: iio: isl29018: check if the chip is in a suspended state Add a check to isl29018_write_raw() to ensure that the chip is not in a suspended state. This makes the code consistent with what is present in isl29018_read_raw(). Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>