diff options
author | Nicholas Mc Guire | 2018-07-21 16:21:51 +0200 |
---|---|---|
committer | Boris Brezillon | 2018-08-01 09:27:38 +0200 |
commit | 3938c0d4cf60477ec776c9a7751226b06bb3c3c0 (patch) | |
tree | 6d24abdc60b1d3b0216982066fa6c353337d8caf /Documentation | |
parent | 261b354caf299a3ff54ba5b35636687c857a0075 (diff) |
mtd: spi-nor: cadence-quadspi: fix timeout handling
wait_for_completion_timeout returns an unsigned long not an int, so
let's check its return value directly instead of storing it in ret,
and avoid checking for negative values since this cannot happen.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions