[SCSI] hpsa: take the adapter lock in hpsa_wait_for_mode_change_ack
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 6 Jan 2011 20:48:24 +0000 (14:48 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:30:26 +0000 (11:30 -0600)
commit6eaf46fdc719991a3ccda1e14b274e9adb515978
tree00d372c09bdf41e513e2b7fcf3259386df0e27c9
parent25c1e56a04e60af2414f8d81eda0fd10b8e7b961
[SCSI] hpsa: take the adapter lock in hpsa_wait_for_mode_change_ack

Need to take the lock while accessing the register to check to
see if config table changes have taken effect.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c