Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247791

Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components

From Lars-Peter Clausen <lars@metafoo.de>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple bindings of components
Date 2015-10-15 15:30 +0200
Message-ID <qjQLv-7Gi-7@gated-at.bofh.it> (permalink)
References (2 earlier) <qj8AN-zI-5@gated-at.bofh.it> <qj93Q-18p-33@gated-at.bofh.it> <qjiTw-7z2-9@gated-at.bofh.it> <qjqo2-2sC-9@gated-at.bofh.it> <qjPFN-68P-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 10/15/2015 02:10 PM, Mark Brown wrote:
> On Wed, Oct 14, 2015 at 11:00:01AM +0200, Lars-Peter Clausen wrote:
> 
>> It was never intended that it is possible to bind a component to multiple
>> cards. That it was possible was a bug that was overlooked and some people
>> tried to do it which caused apparently random crashes later on, caused by
>> the data structure corruption. This is why we added the check to catch this
>> kind of mistake early and to avoid the crashes.
> 
> This is true, but I do think it's something that we should have some
> story on supporting for some of this hardware that has a bunch of
> channels in one IP block that can't really interact with each other.
> It's going to make it a lot easier for people to think about the
> hardware and how to describe it.

I'm not saying we shouldn't support it, just that we can't support it with
the current code. And adding support for it will require a fair bit of
restructuring.

If a hardware block as multiple independent channels the best approach in my
opinion is to register multiple components (Which we can't do at the moment,
because there can only be one component per device). From a framework point
of view there is no difference between a single device with multiple
independent channels and multiple independent devices with one channel each.
Both have the same logical topology.

- Lars


Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] ASoC: Modify check condition of multiple bindings of components Koro Chen <koro.chen@mediatek.com> - 2015-10-13 15:40 +0200
  Re: [RFC PATCH] ASoC: Modify check condition of multiple bindings  of components Lars-Peter Clausen <lars@metafoo.de> - 2015-10-13 15:50 +0200
    Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of  multiple bindings of components Koro Chen <koro.chen@mediatek.com> - 2015-10-13 16:20 +0200
      Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple  bindings of components Lars-Peter Clausen <lars@metafoo.de> - 2015-10-13 16:50 +0200
        Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of  multiple bindings of components Koro Chen <koro.chen@mediatek.com> - 2015-10-14 03:20 +0200
          Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple  bindings of components Lars-Peter Clausen <lars@metafoo.de> - 2015-10-14 11:20 +0200
            Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of  multiple bindings of components Mark Brown <broonie@kernel.org> - 2015-10-15 14:20 +0200
              Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of  multiple bindings of components Koro Chen <koro.chen@mediatek.com> - 2015-10-15 14:50 +0200
              Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of multiple  bindings of components Lars-Peter Clausen <lars@metafoo.de> - 2015-10-15 15:30 +0200
                Re: [alsa-devel] [RFC PATCH] ASoC: Modify check condition of  multiple bindings of components Koro Chen <koro.chen@mediatek.com> - 2015-10-16 04:40 +0200

csiph-web