diff options
author | Nicholas Mc Guire <der.herr@hofr.at> | 2015-01-20 06:27:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 09:18:00 -0800 |
commit | 3f46d81ae1cf8f20f25c39ae1ab3f1b064698361 (patch) | |
tree | ba5612fecded10c5aad55c738fd1d307493fd849 /drivers/macintosh/via-pmu68k.c | |
parent | 625505b509b38b3a389cb3f4fd6520a46763bf45 (diff) | |
download | blackbird-op-linux-3f46d81ae1cf8f20f25c39ae1ab3f1b064698361.tar.gz blackbird-op-linux-3f46d81ae1cf8f20f25c39ae1ab3f1b064698361.zip |
misc: ti-st: add handling of the signal case
if(!wait_for_completion_interruptible_timeout(...))
only handles the timeout case - this patch adds handling the
signal case the same as timeout.
Only the timeout case was being handled, the signal case
(-ERESTARTSYS) was treated just like the case of successful
completion, which is most likely not reasonable.
read_local_version() is called from download_firmware() where
it checks for !=0 return, so the error handling logic should be
preserved correctly.
download_firmware() is called from st_kim_start() which is
checking for !=0 return, so the error handling logic should be
preserved correctly
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/via-pmu68k.c')
0 files changed, 0 insertions, 0 deletions