linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Liam Girdwood <lrg-l0cyMroinI0@public.gmane.org>
Cc: "alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org"
	<alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org>,
	ARM kernel mailing list
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	Steev Klimaszewski
	<steev-4jv++OSWV9OTkO8mciVlQg@public.gmane.org>,
	"linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: 32337ea "ASoC: warn if we will overwrite the DAI stream widgets"
Date: Wed, 28 Aug 2013 17:28:24 -0600	[thread overview]
Message-ID: <521E8798.10206@wwwdotorg.org> (raw)

Russell, if the warning in commit 32337ea "ASoC: warn if we will
overwrite the DAI stream widgets" fires, what do I need to do to the
ASoC driver to fix it? (I'm deliberately ignoring any other issues with
this patch, and looking only to discover what is apparently wrong with
my driver that's triggering this...).

Steev Klimaszewski reported this warning to me, and I've repro'd it
running next-20130827 on a couple of Tegra systems (TrimSlice and
Seaboard at least), using sound/soc/tegra/tegra_{trimslice,wm8903}.c,
and associated ASoC components.

For the record, the commit description is:
>     ASoC: warn if we will overwrite the DAI stream widgets
>     
>     The DAI stream widgets can end up being created multiple times if the
>     CPU DAI and DMA/platform components share the same struct device.  This
>     bug has been reported in various forms to the ASoC maintainer(s) several
>     times, yet they refuse to acknowledge this:
>     
>     > Essentially all the dmaengine based platforms in mainline use a shared
>     > device for DMA and DAI; I'm fairly sure someone would have mentioned if
>     > there were problems.
>     >
>     > As you have been repeatedly told the Kirkwood drivers are the first
>     > drivers submitted to mainline which use DPCM and therefore it is not
>     > surprising that there are a few issues which need to be worked through,
>     > there were a few revisions to the framework which went in as a result of
>     > review during the mainline merge.  The problem you are seeing here is
>     > due to this being the first platform with a *shared* device to use DPCM.
>     
>     This is inspite of stating multiple times that this has nothing to do
>     with DPCM what so ever.  So, having tried to convince them over the
>     last month that this is the case, and them being obstructive and/or
>     obtuse, this is the only way left open to convince them that there is
>     a problem here.
>     
>     It is only through complete frustration over their inability to recognise
>     that there could be a problem that I am putting this into linux-next;
>     this is not something I want to do, but they leave me no other choice.
>     
>     If they are correct, then this patch will have no effect what so ever.
>     If I am correct, there will be warnings produced where a CPU DAI and
>     DMA/platform component shares the same struct device.
>     
>     Signed-off-by: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>

             reply	other threads:[~2013-08-28 23:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 23:28 Stephen Warren [this message]
2013-08-29  0:01 ` 32337ea "ASoC: warn if we will overwrite the DAI stream widgets" Russell King - ARM Linux

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=521E8798.10206@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lrg-l0cyMroinI0@public.gmane.org \
    --cc=steev-4jv++OSWV9OTkO8mciVlQg@public.gmane.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;
as well as URLs for NNTP newsgroup(s).