mei: me: clear interrupts on the resume path
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 5 Jun 2013 07:51:13 +0000 (10:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Jun 2013 05:31:07 +0000 (22:31 -0700)
commit42f132febff3b7b42c6c9dbfc151f29233be3132
treeb6adc4e6ba5496afb6de15803a28904dbff27167
parent2753ff53d4158dbb394b3a2064001283fa9a8701
mei: me: clear interrupts on the resume path

We need to clear pending interrupts on the resume
path. This brings the device into defined state
before starting the reset flow

This should solve suspend/resume issues:

mei_me : wait hw ready failed. status = 0x0
mei_me : version message write failed

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