From: Tomas Winkler Date: Wed, 5 Jun 2013 07:51:13 +0000 (+0300) Subject: mei: me: clear interrupts on the resume path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42f132febff3b7b42c6c9dbfc151f29233be3132;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index a727464e9c3f..0f268329bd3a 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c @@ -325,6 +325,7 @@ static int mei_me_pci_resume(struct device *device) mutex_lock(&dev->device_lock); dev->dev_state = MEI_DEV_POWER_UP; + mei_clear_interrupts(dev); mei_reset(dev, 1); mutex_unlock(&dev->device_lock);