]> git.baikalelectronics.ru Git - kernel.git/commit
mei: fix device stall after wd is stopped
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 16 Aug 2012 13:25:33 +0000 (16:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 16:44:52 +0000 (09:44 -0700)
commitbe23c5c0792e5e66b7f67a1b7374c9d2b93003d0
treee621918a9a8f8a0feeef2dd8956a08489d58af39
parentdde762d5e7a1fb234d670e75ab8ffe3b4780e644
mei: fix device stall after wd is stopped

After watchdog was disabled the driver would stall
due to wrong calculation of credits reduction

The cat&paste bug was introduced in the commit
4c4d27ea932a5404ae7914f2ac80f440197d7b7a
mei: introduce mei_data2slots wrapper

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