From: Alan Date: Mon, 15 Feb 2016 18:53:15 +0000 (+0000) Subject: aic7xxx: Fix queue depth handling X-Git-Tag: v4.1.12-92~150^2~87 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=62b95f5f518463eb84f7e3c3c709bd940c312217;p=users%2Fjedix%2Flinux-maple.git aic7xxx: Fix queue depth handling Orabug: 23331064 [ Upstream commit 5a51a7abca133860a6f4429655a9eda3c4afde32 ] We were setting the queue depth correctly, then setting it back to two. If you hit this as a bisection point then please send me an email as it would imply we've been hiding other bugs with this one. Cc: Signed-off-by: Alan Cox Reviewed-by: Hannes Reinicke Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin (cherry picked from commit cf438ddac48b27e7de0514f96d912e132c908df4) Signed-off-by: Dan Duval --- diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index a2f2c774cd6b7..82529f9830f3b 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c @@ -1337,6 +1337,7 @@ ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, case AHC_DEV_Q_TAGGED: scsi_change_queue_depth(sdev, dev->openings + dev->active); + break; default: /* * We allow the OS to queue 2 untagged transactions to