ahci: Check and set 64-bit DMA mask for platform AHCI driver
authorSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Thu, 12 Jun 2014 17:40:23 +0000 (12:40 -0500)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 19:02:35 +0000 (15:02 -0400)
The current platform AHCI driver does not set the dma_mask correctly
for 64-bit DMA capable AHCI controller. This patch checks the AHCI
capability bit and set the dma_mask and coherent_dma_mask accordingly.

Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

No differences found