Re: [V2 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-06 Thread Rafael J. Wysocki
On Thu, May 7, 2015 at 1:52 AM, Suravee Suthikulanit wrote: > Rafael, > > Any comments on this patch? Well, as long as acpi_dma_is_coherent() does the right thing on all architectures, I have no objections. Thanks, Rafael > On 5/5/2015 10:12 AM, Suravee Suthikulpanit wrote: >> >> Currently, de

Re: [V2 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-06 Thread Suravee Suthikulanit
Rafael, Any comments on this patch? Thanks, Suravee On 5/5/2015 10:12 AM, Suravee Suthikulpanit wrote: Currently, device drivers, which support both OF and ACPI, need to call two separate APIs, of_dma_is_coherent() and acpi_dma_is_coherent()) to determine device coherency attribute. This pat

[V2 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-05 Thread Suravee Suthikulpanit
Currently, device drivers, which support both OF and ACPI, need to call two separate APIs, of_dma_is_coherent() and acpi_dma_is_coherent()) to determine device coherency attribute. This patch simplifies this process by introducing a new device property API, device_dma_is_coherent(), which calls th