OSDN Git Service

mei: propagate error from write routines instead of ENODEV
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 16 Sep 2013 20:44:43 +0000 (23:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 15:42:02 +0000 (08:42 -0700)
commit2ebf8c94d431078d93599ba56efa58bf850078a1
tree73090229bb39f830da0f32794ac216e5c4424464
parent0da90747353c0f5b663c9c25fd56cd21440d222c
mei: propagate error from write routines instead of ENODEV

ENODEV will cause application to try to reconnect since
it assumes that device went through the reset
write errors are not always fatal it can happen due to
resource contention

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/hbm.c
drivers/misc/mei/interrupt.c