diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2018-11-06 12:04:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-07 13:53:03 +0100 |
commit | a19bf05359e6c5249766cbbf2937ef83fc9001f9 (patch) | |
tree | 909a702c12b7e6c64494d8fec06ea50c27e4969a /drivers/thermal/thermal_hwmon.h | |
parent | 87d63352b49e421bb272dbb553bcf7db316c168f (diff) |
mei: expedite ioctl return on the notify set operation error
The notify set operation ioctl will wait till timeout is expired
even in case when the FW returned an error.
Check the status field of the client object in wait_event_timeout()
to determine if the caller can return earlier.
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/thermal/thermal_hwmon.h')
0 files changed, 0 insertions, 0 deletions