From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbdK2WOm (ORCPT ); Wed, 29 Nov 2017 17:14:42 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40778 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbdK2WOi (ORCPT ); Wed, 29 Nov 2017 17:14:38 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 125D960240 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org Subject: Re: [PATCH V3 3/4] dmaengine: qcom_hidma: add support for the new revision To: Vinod Koul Cc: dmaengine@vger.kernel.org, timur@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robin.murphy@arm.com, linux-kernel@vger.kernel.org, "linux-acpi@vger.kernel.org" References: <1510281175-27173-1-git-send-email-okaya@codeaurora.org> <1510281175-27173-3-git-send-email-okaya@codeaurora.org> <20171129135813.GE32417@localhost> From: Sinan Kaya Message-ID: Date: Wed, 29 Nov 2017 17:14:35 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171129135813.GE32417@localhost> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +linux-acpi On 11/29/2017 8:58 AM, Vinod Koul wrote: >> + cap = (enum hidma_cap) acpi_device_get_match_data(dev); > should this not reside in core? How about a device_get_match_data() which > returns the data for folks based on node being acpi/of Sure, I'm preparing a device function to read this as you suggested. Sinan -- Sinan Kaya 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.