diff options
| author | Suthikulpanit, Suravee <[email protected]> | 2015-10-28 22:50:48 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2015-11-07 00:29:21 +0000 |
| commit | b84f196d963c3159329f72ca1913b08679004a43 (patch) | |
| tree | a017e66514453e0fdc5489076877d1a02a5e568a /drivers/fpga/fpga-mgr.c | |
| parent | device property: Introducing enum dev_dma_attr (diff) | |
| download | kernel-b84f196d963c3159329f72ca1913b08679004a43.tar.gz kernel-b84f196d963c3159329f72ca1913b08679004a43.zip | |
ACPI: Adding DMA Attribute APIs for ACPI Device
Adding acpi_get_dma_attr() to query DMA attributes of ACPI devices.
It returns the enum dev_dma_attr, which communicates DMA information
more clearly. This API replaces the acpi_check_dma(), which will be
removed in subsequent patch.
This patch also provides a convenient function, acpi_dma_supported(),
to check DMA support of the specified ACPI 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
