diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2014-07-17 11:53:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-18 05:38:37 +0400 |
commit | fe2f17eb3da38ac0d5a00c511255bf3a33d16d24 (patch) | |
tree | bcc4660cd2e1cadb29fd68415be5fe33ac4a4666 /drivers/char/dsp56k.c | |
parent | d5d83f8abea13d0b50ee762276c6c900d1946264 (diff) | |
download | linux-fe2f17eb3da38ac0d5a00c511255bf3a33d16d24.tar.xz |
mei: fix return value on disconnect timeout
wait_event_timeout can return 0 or the remaining jiffies
so return -ETIME if disconnected state not reached.
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/dsp56k.c')
0 files changed, 0 insertions, 0 deletions