diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2016-06-20 13:05:14 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2016-08-24 15:21:36 +0200 |
commit | a3774e146a14a78e4dc84b28e841f3e91a29c6e4 (patch) | |
tree | ea53600a171286c660dfac46959d1854c4a2e3df /tools/iio | |
parent | 54e991b56639437f922113b6b12f34e8044418d8 (diff) | |
download | talos-op-linux-a3774e146a14a78e4dc84b28e841f3e91a29c6e4.tar.gz talos-op-linux-a3774e146a14a78e4dc84b28e841f3e91a29c6e4.zip |
reset: warn on invalid input to reset_control_reset/assert/deassert/status
Instead of potentially crashing, dump a backtrace and return -EINVAL if
rstc is NULL or an error code.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions