Skip to content
Commit a3774e14 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 54e991b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment