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)
commit3e8309551777e2a54367daddb65b53e236754374
treee621918a9a8f8a0feeef2dd8956a08489d58af39
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
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
7bdf72d3d8059a50214069ea4b87c2174645f40f
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