mei: don't use cached value for hcsr in mei_hw_reset
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 8 Jan 2013 21:07:27 +0000 (23:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jan 2013 00:40:47 +0000 (16:40 -0800)
commitadfba3220b625ce4bee08e7e6f48c8a27aac23bb
treebe763cb3537e28f43bb43df856bdbe82bc2bdbbd
parent528c8eb4e7c08c5531533de62a558aaf3d076ebb
mei: don't use cached value for hcsr in mei_hw_reset

Open code mei_hw_reset to avoid using cached hcsr.
Using cached hcsr can cause unwanted side effects.

Move mei_hw_restet function to hw-me.c as it is hw dependent

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