diff options
| author | Suthikulpanit, Suravee <[email protected]> | 2015-10-28 22:50:49 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-11-07 00:29:22 +0000 |
| commit | e5e558644bbb23cad03c586703331b8bcd9e0e6c (patch) | |
| tree | 8e183e85861b37394bfa6a64b2352848325e0b6b /drivers/fpga/fpga-mgr.c | |
| parent | ACPI: Adding DMA Attribute APIs for ACPI Device (diff) | |
| download | kernel-e5e558644bbb23cad03c586703331b8bcd9e0e6c.tar.gz kernel-e5e558644bbb23cad03c586703331b8bcd9e0e6c.zip | |
device property: Adding DMA Attribute APIs for Generic Devices
The function device_dma_is_coherent() does not sufficiently
communicate device DMA attributes. Instead, this patch introduces
device_get_dma_attr(), which returns enum dev_dma_attr.
It replaces the acpi_check_dma(), which will be removed in
subsequent patch.
This also provides a convenient function, device_dma_supported(),
to check DMA support of the specified device.
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Hanjun Guo <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
