From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org,
felipe.balbi@nokia.com, david-b@pacbell.net,
Swaminathan S <swami.iyer@ti.com>, Babu Ravi <ravibabu@ti.com>
Subject: Re: [PATCH] musb: fix ISOC Tx programming for CPPI DMAs
Date: Fri, 28 Aug 2009 13:23:11 +0400 [thread overview]
Message-ID: <4A97A1FF.5050501@ru.mvista.com> (raw)
In-Reply-To: <1251439096-10791-1-git-send-email-ajay.gupta@ti.com>
Hello.
Ajay Kumar Gupta wrote:
> Isochronous Tx DMA is getting programmed but never getting started
> for CPPI and TUSB DMAs and thus Isochronous Tx doesn't work.
>
That's not true.
> Fixing it by starting DMAs using musb_h_tx_dma_start().
>
> Signed-off-by: Swaminathan S <swami.iyer@ti.com>
> Signed-off-by: Babu Ravi <ravibabu@ti.com>
> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
>
NAK.
> diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c
> index cf94511..e3ab40a 100644
> --- a/drivers/usb/musb/musb_host.c
> +++ b/drivers/usb/musb/musb_host.c
> @@ -1301,8 +1301,11 @@ void musb_host_tx(struct musb *musb, u8 epnum)
> return;
> } else if (usb_pipeisoc(pipe) && dma) {
> if (musb_tx_dma_program(musb->dma_controller, hw_ep, qh, urb,
> - offset, length))
> + offset, length)) {
> + if (is_cppi_enabled() || tusb_dma_omap())
> + musb_h_tx_dma_start(hw_ep);
> return;
>
It will have been already started by this moment -- from
musb_start_urb() which is enough . Otherwise it wouldn't work, and I've
made sure it *does* work.
WBR, Sergei
next prev parent reply other threads:[~2009-08-28 9:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-28 5:58 [PATCH] musb: fix ISOC Tx programming for CPPI DMAs Ajay Kumar Gupta
2009-08-28 9:23 ` Sergei Shtylyov [this message]
2009-08-28 9:29 ` Sergei Shtylyov
2009-08-28 9:44 ` Gupta, Ajay Kumar
2009-08-28 9:46 ` Gupta, Ajay Kumar
2009-08-28 10:02 ` Sergei Shtylyov
[not found] ` <4A97AB42.4070008-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2009-08-28 10:11 ` Subbrathnam, Swaminathan
[not found] ` <FCCFB4CDC6E5564B9182F639FC35608702F9A45083-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-08-28 13:27 ` Sergei Shtylyov
2009-08-28 10:12 ` Sergei Shtylyov
2009-08-28 10:28 ` Gupta, Ajay Kumar
2009-08-28 10:35 ` Gupta, Ajay Kumar
2009-08-28 12:16 ` Sergei Shtylyov
[not found] ` <4A97CA80.7010600-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2009-08-28 13:06 ` Sergei Shtylyov
2009-08-28 13:23 ` Sergei Shtylyov
2009-08-28 10:46 ` Sergei Shtylyov
2009-08-28 14:24 ` Sergei Shtylyov
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=4A97A1FF.5050501@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=ajay.gupta@ti.com \
--cc=david-b@pacbell.net \
--cc=felipe.balbi@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ravibabu@ti.com \
--cc=swami.iyer@ti.com \
/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.