commit | 7ca96aa278f8b9983184e318b06a0ed9ad0297b8 | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <alexander.usyskin@intel.com> | Wed Feb 19 17:35:49 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 28 15:15:57 2014 -0800 |
tree | b01220d624e9fbf70258a96890be25b56405c11e | |
parent | 9d098192c3d45ab6dd90ae87d649950a9ef70ccb [diff] |
mei: make return values consistent across the driver 1. Propagate ENOTTY to user space if the client is not present in the system 2. Use ETIME consistently on timeouts 3. Return EIO on write failures 4. Return ENODEV on recoverable device failures such as resets 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>