spi: pic32: fixup wait_for_completion_timeout return handling
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 23 Jul 2016 19:31:20 +0000 (21:31 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 24 Jul 2016 20:49:16 +0000 (21:49 +0100)
commit57c2b0ddd14d8831cbaab855373fe8797812ea53
tree897092bd8422cac43b0dd933581bfe2908911bc5
parent523d939ef98fd712632d93a5a2b588e477a7565e
spi: pic32: fixup wait_for_completion_timeout return handling

wait_for_completion_timeout returns unsigned long not int so the check for
<= 0 should be == 0 here.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pic32.c