aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/interrupt.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-01-08 16:07:28 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-08 19:40:47 -0500
commit9ea73ddd4f144952b8f69fac93dc592ea48e4113 (patch)
treeab3457d01984e76e5c5f94306afeddcbc4e841a2 /drivers/misc/mei/interrupt.c
parentadfba3220b625ce4bee08e7e6f48c8a27aac23bb (diff)
mei: use non cached hcsr for interrupt enablement
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/interrupt.c')
-rw-r--r--drivers/misc/mei/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c
index d1ef92617c19..d7e1b797e87b 100644
--- a/drivers/misc/mei/interrupt.c
+++ b/drivers/misc/mei/interrupt.c
@@ -691,7 +691,6 @@ irqreturn_t mei_interrupt_thread_handler(int irq, void *dev_id)
691 /* initialize our complete list */ 691 /* initialize our complete list */
692 mutex_lock(&dev->device_lock); 692 mutex_lock(&dev->device_lock);
693 mei_io_list_init(&complete_list); 693 mei_io_list_init(&complete_list);
694 dev->host_hw_state = mei_hcsr_read(dev);
695 694
696 /* Ack the interrupt here 695 /* Ack the interrupt here
697 * In case of MSI we don't go through the quick handler */ 696 * In case of MSI we don't go through the quick handler */
@@ -710,6 +709,7 @@ irqreturn_t mei_interrupt_thread_handler(int irq, void *dev_id)
710 return IRQ_HANDLED; 709 return IRQ_HANDLED;
711 } 710 }
712 711
712 dev->host_hw_state = mei_hcsr_read(dev);
713 /* check if we need to start the dev */ 713 /* check if we need to start the dev */
714 if ((dev->host_hw_state & H_RDY) == 0) { 714 if ((dev->host_hw_state & H_RDY) == 0) {
715 if ((dev->me_hw_state & ME_RDY_HRA) == ME_RDY_HRA) { 715 if ((dev->me_hw_state & ME_RDY_HRA) == ME_RDY_HRA) {