summaryrefslogtreecommitdiff
path: root/drivers/tty/n_tracesink.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-08-21 20:02:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 17:33:48 +0100
commit8e14ba8f8b733840659d79e38758fb2b6c765dc5 (patch)
tree45c2f77f2c4b166376a09fbd5adb6573f77cebc7 /drivers/tty/n_tracesink.c
parentb9258020264dfacb8695df181d766fa9a079ab15 (diff)
serial: sh-sci: Use correct device for DMA mapping with IOMMU
To function correctly in the presence of an IOMMU, the DMA buffers must be managed using the DMA channel's device instead of the platform device's device. Make sure to free the DMA memory before releasing the channel, not after. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tracesink.c')
0 files changed, 0 insertions, 0 deletions