Skip to content

Commit 42f132f

Browse files
Tomas Winklergregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2753ff5 commit 42f132f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/misc/mei/pci-me.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ static int mei_me_pci_resume(struct device *device)
325325

326326
mutex_lock(&dev->device_lock);
327327
dev->dev_state = MEI_DEV_POWER_UP;
328+
mei_clear_interrupts(dev);
328329
mei_reset(dev, 1);
329330
mutex_unlock(&dev->device_lock);
330331

0 commit comments

Comments
 (0)