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:50:17 +0000 (09:50 -0700)
commit9bb3a5897e22bf6af82bc451db9458b1d794f627
treece926c08b019cba2ee65eadf3abe95fffab7d16d
parentb210d7506f416e7250eb52c314e5ed08928639dd
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