From: Don Brace Date: Sat, 25 Feb 2017 00:03:05 +0000 (-0800) Subject: hpsa: correct scan wakeup X-Git-Tag: v4.1.12-93~2^2~125 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ab6442a76870cc6e49b5b7795d53c3b2fd309491;p=users%2Fjedix%2Flinux-maple.git hpsa: correct scan wakeup Prevent multiple instances of hpsa_update_scsi_devices Signed-off-by: Don Brace Orabug: 25605941 Signed-off-by: Jack Vogel --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 59729fe7d70a1..1c6b8cc8612f4 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -5580,7 +5580,7 @@ static void hpsa_scan_complete(struct ctlr_info *h) spin_lock_irqsave(&h->scan_lock, flags); h->scan_finished = 1; - wake_up_all(&h->scan_wait_queue); + wake_up(&h->scan_wait_queue); spin_unlock_irqrestore(&h->scan_lock, flags); }