From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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 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: stable-owner@vger.kernel.org List-ID: 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.