summaryrefslogtreecommitdiff
path: root/Documentation/s390
diff options
context:
space:
mode:
authorJeffrey Hugo <jhugo@codeaurora.org>2021-02-12 14:27:23 -0700
committerLoic Poulain <loic.poulain@linaro.org>2021-02-15 11:36:49 +0100
commitae419de5e1b3b1bc54a242f0f34c65815ef70a7a (patch)
treed8401b7545b5067b868be975ba26d3d89ecb5874 /Documentation/s390
parent38a882255506602143cbddcc92f1fa01a6ec8aac (diff)
bus: mhi: core: Fix check for syserr at power_up
The check to see if we have reset the device after detecting syserr at power_up is inverted. wait_for_event_timeout() returns 0 on failure, and a positive value on success. The check is looking for non-zero as a failure, which is likely to incorrectly cause a device init failure if syserr was detected at power_up. Fix this. Fixes: e18d4e9fa79b ("bus: mhi: core: Handle syserr during power_up") Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Diffstat (limited to 'Documentation/s390')
0 files changed, 0 insertions, 0 deletions