mei: limit the number of consecutive resets
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 11 Jan 2014 22:36:10 +0000 (00:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 22:57:21 +0000 (14:57 -0800)
commit6adb8efb024a7e413b93b22848fc13395b1a438a
tree42791bdf2275ff60421470df499c00850a6b052c
parent33ec0826314734fc4f3c9bf37d12e98063339b31
mei: limit the number of consecutive resets

give up reseting after 3 unsuccessful tries

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c
drivers/misc/mei/init.c
drivers/misc/mei/mei_dev.h