Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751690AbdH1P33 (ORCPT ); Mon, 28 Aug 2017 11:29:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59304 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbdH1P30 (ORCPT ); Mon, 28 Aug 2017 11:29:26 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F0323606B7 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=awallis@codeaurora.org Subject: Re: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd To: Felipe Balbi , linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , Arnd Bergmann , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: timur@codeaurora.org References: <1503684135-24207-1-git-send-email-awallis@codeaurora.org> <877exnyh9i.fsf@linux.intel.com> From: Adam Wallis Message-ID: Date: Mon, 28 Aug 2017 11:29:23 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <877exnyh9i.fsf@linux.intel.com> 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 Content-Length: 760 Lines: 22 On 8/28/2017 9:05 AM, Felipe Balbi wrote: > > Hi, > > Adam Wallis writes: >> The dma ops from the parent DWC device are not getting passed to the >> child xhci-hcd device. This patch makes use of >> platform_device_register_full to set the DMA ops. For the DT/OF case, >> dma_ops were still null after the the device register, so >> of_dma_configure is called in only the OF case. >> >> Signed-off-by: Adam Wallis > > you need to sysdev property, IMO. > Thanks, good suggestion. I will test that out. -- Adam Wallis Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.