From: Greg KH <gregkh@linuxfoundation.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC] usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU
Date: Mon, 13 Jul 2015 16:19:02 +0000 [thread overview]
Message-ID: <20150713161902.GA21884@kroah.com> (raw)
In-Reply-To: <1436778605-5576-1-git-send-email-yoshihiro.shimoda.uh@renesas.com>
On Mon, Jul 13, 2015 at 06:10:05PM +0900, Yoshihiro Shimoda wrote:
> The dma_map_single and dma_unmap_single should set "gadget->dev.parent"
> instead of "&gadget->dev" in the first argument because the parent has
> a udc controller's device pointer.
> Otherwise, iommu functions are not called in ARM environment.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
> This patch is based on the Felipe's usb.git / testing/next branch.
> commit id = 298623983e74d935fc241d0eb1d0740cf4c32599
Why send something that has already been accepted into Felipe's tree?
next prev parent reply other threads:[~2015-07-13 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 9:10 [PATCH/RFC] usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU Yoshihiro Shimoda
2015-07-13 16:19 ` Greg KH [this message]
2015-07-13 16:51 ` Geert Uytterhoeven
2015-07-14 0:59 ` Yoshihiro Shimoda
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=20150713161902.GA21884@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-sh@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox