[SCSI] ufs: don't disable_irq() if the IRQ can be shared among devices
authorAkinobu Mita <mita@fixstars.com>
Mon, 29 Jul 2013 19:06:02 +0000 (00:36 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 26 Aug 2013 08:51:27 +0000 (12:51 +0400)
commite0f4b7c5acbac65d2f56ed5e1d2d8036f9db936e
tree686682b6b51438299b4f41e8d6c70a28b8262bfe
parent36f4f3b672748e7d9786ef1e0ae5caefd337b668
[SCSI] ufs: don't disable_irq() if the IRQ can be shared among devices

When removing the UFS driver, disable_irq() is called and the IRQ is
not enabled again.  Unfortunately, the IRQ is requested with IRQF_SHARED
and it can be shared among several devices.  So disabling the IRQ in
this way is just breaking other devices which are sharing the IRQ.

Signed-off-by: Akinobu Mita <mita@fixstars.com>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ufs/ufshcd-pci.c
drivers/scsi/ufs/ufshcd-pltfrm.c