[SCSI] mvsas: fixed timeout issue when removing module
authorXiangliang Yu <yuxiangl@marvell.com>
Tue, 29 Jan 2013 16:25:53 +0000 (00:25 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 11:18:33 +0000 (11:18 +0000)
commit7c237c5f6d5c62724ccd82aecdcd1fd9bd71dc75
tree70660235d07bba87b4221912f08fabe3192a5c48
parent2b4df6ea53d05625e9ca2dd73bc0e831976e009d
[SCSI] mvsas: fixed timeout issue when removing module

Root cause is libsas will clear asd_sas_port phy_mask value in sas_port_deform
after triggering destruct workqueue, but the workqueue will send sync cmd and
still need phy_mask value.  Now, mvsas using asd_sas_phy setting instead of
asd_sas_port setting.

Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mvsas/mv_sas.c
drivers/scsi/mvsas/mv_sas.h