[SCSI] libata: Pass correct DMA device to scsi host
authorLin Ming <ming.m.lin@intel.com>
Thu, 12 Apr 2012 05:50:39 +0000 (13:50 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 22 Apr 2012 18:00:21 +0000 (19:00 +0100)
commitf8fc75dc576eac0c996e4a792a4701819d999260
tree7babeb0c4533a43f9a035379d5983b63dfab40a5
parent6f381fa344911d5a234b13574433cf23036f9467
[SCSI] libata: Pass correct DMA device to scsi host

Use scsi_add_host_with_dma in ata_scsi_add_hosts to pass in the
correct DMA device(ATA host).

Bug report: http://marc.info/?l=linux-ide&m=133177818318187&w=2

Reported-and-tested-by: Jörg Sommer <joerg@alea.gnuu.de>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/ata/libata-scsi.c