From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 0/11][RFC] sound DMA support patches
Date: Mon, 27 Oct 2014 12:48:08 +0000 [thread overview]
Message-ID: <4038261.I2upKqcgeP@avalon> (raw)
In-Reply-To: <874my8vlqq.wl%kuninori.morimoto.gx@gmail.com>
Hi Morimoto-san,
On Sunday 26 October 2014 17:36:12 Kuninori Morimoto wrote:
> Hi Laurent
>
> Thank you for contacting me
>
> > > These are sound DMA support platform side patches.
> > > These worked well when it was based on shdma-base
> > > driver base.
> > >
> > > These are including all sound DMA supports,
> > > but, it is too much for cyclic transfer test.
> >
> > I'm trying to test cyclic DMA support in the rcar-dmac driver using this
> > patch series.
> >
> > I've applied all the patches on top of a merge of asoc/topic/rcar,
> > renesas-
> > drivers-2014-10-23-v3.18-rc1 and Simon's latest master branch. The sound
>
> > devices are not probed correctly:
> (snip)
>
> > Am I missing something ? Is there a newer version of the Lager audio + DMA
> > support patches ?
>
> Sorry, driver had a bug, and I fixed it on latest upstream.
> Can you add below on my previous patch series ?
> It should be probed.
That fixed the probe issue, thank you. Do you plan to push this change to
Simon's tree ?
With this patch applied I've been able to test audio playback and get it to
fail :-) The first problem is caused by GFP_KERNEL allocation in the prep
cyclic handler in shdma-base.c. I've sent a patch to fix that and have CC'ed
you.
The next failure comes from the call to pm_runtime_get() in shdma_tx_submit():
rcar-audmapp-engine ec740000.audio-dma-pp: shdma_tx_submit(): GET = -13
rcar_sound ec500000.rcar_sound: status check failed
rcar_sound ec500000.rcar_sound: status check failed
Is that a known problem ?
> ------------------
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index 950a438..d6e7efd 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -166,7 +166,7 @@
> simple-audio-card,frame-master = <&sndcodec>;
>
> sndcpu: simple-audio-card,cpu {
> - sound-dai = <&rcar_sound 0>;
> + sound-dai = <&rcar_sound>;
> };
>
> sndcodec: simple-audio-card,codec {
> @@ -474,6 +474,8 @@
> pinctrl-0 = <&sound_pins &sound_clk_pins>;
> pinctrl-names = "default";
>
> + #sound-dai-cells = <0>;
> +
> status = "okay";
>
> rcar_sound,dai {
> ------------------
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-10-27 12:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 2:42 [PATCH 0/11][RFC] sound DMA support patches Kuninori Morimoto
2014-10-25 15:07 ` Laurent Pinchart
2014-10-27 0:36 ` Kuninori Morimoto
2014-10-27 12:48 ` Laurent Pinchart [this message]
2014-10-28 0:16 ` Kuninori Morimoto
2014-10-28 20:59 ` Laurent Pinchart
2014-10-29 0:08 ` Kuninori Morimoto
2014-10-29 1:33 ` Kuninori Morimoto
2014-10-29 14:08 ` Laurent Pinchart
2014-10-30 0:07 ` Kuninori Morimoto
2014-10-30 0:46 ` Laurent Pinchart
2014-10-30 1:28 ` Kuninori Morimoto
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=4038261.I2upKqcgeP@avalon \
--to=laurent.pinchart@ideasonboard.com \
--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 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.