misc: mic: bug fix for interrupt acknowledgement in MSI/INTx case.
The interrupt handler (mic_interrupt), called in the MSI/INTx mode, writes to the interrupt sources register to acknowledge the interrupt and then calls the corresponding callback handlers to handle the same. These callback handlers acknowledge the interrupts again leading to missed interrupts. This patch fixes the issue by removing the interrupt acknowlegment code from the callback handlers. Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com> Reviewed-by: Siva Krishna Kumar Reddy Yerramreddy <siva.krishna.kumar.reddy.yerramreddy@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Cc: stable <stable@vger.kernel.org> # 3.13 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
d6a484520c
commit
df5e4e8b57
@@ -115,7 +115,7 @@ static irqreturn_t mic_shutdown_db(int irq, void *data)
|
||||
struct mic_device *mdev = data;
|
||||
struct mic_bootparam *bootparam = mdev->dp;
|
||||
|
||||
mdev->ops->ack_interrupt(mdev);
|
||||
mdev->ops->intr_workarounds(mdev);
|
||||
|
||||
switch (bootparam->shutdown_status) {
|
||||
case MIC_HALTED:
|
||||
|
Reference in New Issue
Block a user