All of lore.kernel.org
 help / color / mirror / Atom feed
From: balbi@kernel.org (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd
Date: Mon, 28 Aug 2017 16:05:29 +0300	[thread overview]
Message-ID: <877exnyh9i.fsf@linux.intel.com> (raw)
In-Reply-To: <1503684135-24207-1-git-send-email-awallis@codeaurora.org>


Hi,

Adam Wallis <awallis@codeaurora.org> 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 <awallis@codeaurora.org>

you need to sysdev property, IMO.

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170828/1e8e9aff/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Felipe Balbi <balbi@kernel.org>
To: Adam Wallis <awallis@codeaurora.org>,
	linux-arm-kernel@lists.infradead.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Adam Wallis <awallis@codeaurora.org>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Cc: timur@codeaurora.org
Subject: Re: [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd
Date: Mon, 28 Aug 2017 16:05:29 +0300	[thread overview]
Message-ID: <877exnyh9i.fsf@linux.intel.com> (raw)
In-Reply-To: <1503684135-24207-1-git-send-email-awallis@codeaurora.org>

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]


Hi,

Adam Wallis <awallis@codeaurora.org> 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 <awallis@codeaurora.org>

you need to sysdev property, IMO.

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  parent reply	other threads:[~2017-08-28 13:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 18:02 [PATCH] usb: dwc3: Initialize DMA ops/mask for xhci-hcd Adam Wallis
2017-08-25 18:02 ` Adam Wallis
2017-08-25 23:03 ` Grygorii Strashko
2017-08-25 23:03   ` Grygorii Strashko
2017-08-28 15:31   ` Adam Wallis
2017-08-28 15:31     ` Adam Wallis
2017-08-28 13:05 ` Felipe Balbi [this message]
2017-08-28 13:05   ` Felipe Balbi
2017-08-28 15:29   ` Adam Wallis
2017-08-28 15:29     ` Adam Wallis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877exnyh9i.fsf@linux.intel.com \
    --to=balbi@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.