2017-11-10 14:16:03

by Timur Tabi

[permalink] [raw]
Subject: Re: [PATCH V2 2/3] dmaengine: qcom_hidma: add support for the new revision

On 11/10/2017 08:03 AM, Sinan Kaya wrote:
> I did post v3 with this approach. However, I could not really find a ACPI function that
> returns the driver data very similar to of_device_get_match_data(). The only thing
> that is closer is acpi_match_device().

This is what I do in the EMAC driver:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/qualcomm/emac/emac-sgmii.c#n245

--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

From 1583688104877992924@xxx Fri Nov 10 14:04:30 +0000 2017
X-GM-THRID: 1583516180493773162
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread