misc: mei: Disable MSI when IRQ registration fails
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 11 Jun 2012 09:18:30 +0000 (12:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 22:34:31 +0000 (15:34 -0700)
commit169dc388685f8a1c1e09546882a114ac850a5d6b
tree22059fbda8271f1528da606253fe64af33bbe158
parent1e69d64a28cf3cabd095ada3a49f081c97f997dd
misc: mei: Disable MSI when IRQ registration fails

Since MSI is enabled right before that, we should disable it when
registration fails.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/main.c