Staging: VME: Convert TSI148 to use dma_map_single
authorMartyn Welch <martyn.welch@ge.com>
Thu, 22 Mar 2012 13:27:29 +0000 (13:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 17:37:06 +0000 (10:37 -0700)
commit3abc48ae35ef7cff845a8d57322c19cc153fb482
tree7b3111df2638026f06f8f7692952f65185866d5f
parent59b2bbb614ca1bd934bb0e5c615a0849d11d8858
Staging: VME: Convert TSI148 to use dma_map_single

The DMA functionality fails to work on some Intel based platforms. Some
recent Intel platforms have an IOMMU. Transferring the DMA descriptors,
which were mapped using virt_to_phys(), failed. This patch updates the
driver to use dma_map_single().

Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vme/bridges/vme_tsi148.c
drivers/staging/vme/bridges/vme_tsi148.h