Messages in this thread | | | Date | Wed, 30 Jan 2013 13:31:04 +0530 | Subject | Re: [PATCH] dw_dmac: adjust slave_id accordingly to request line base | From | Viresh Kumar <> |
| |
On Wed, Jan 30, 2013 at 1:02 PM, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > We get a device from the ACPI CSRT table. During enumeration we don't > know what kind of the device it is. From the enumeration point of view > each device enumerated from CSRT is a platform device (see > drivers/acpi/csrt.c for the details). > > That's why we have to pass this info somehow to the DMAC driver. And > like Mika already mentioned we have no other generic way except > IORESOURCE_DMA. If you have something better in mind, please share. We > could adopt our code then.
You don't need this in DT case too? Or only for ACPI case?
I think "Yes" is the answer of both the questions. If so, then you can keep it this way or add another variable in platform data.
| |