lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 12 Aug 2014 20:40:14 +0530
From:	Vinod Koul <vinod.koul@...el.com>
To:	Mark Brown <broonie@...nel.org>
Cc:	Nikesh Oswal <nikesh@...nsource.wolfsonmicro.com>,
	lgirdwood@...il.com, tiwai@...e.de, alsa-devel@...a-project.org,
	patches@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH v3] ASOC: dapm: add code to configure dai
 link parameters

On Mon, Aug 11, 2014 at 01:19:12PM +0100, Mark Brown wrote:
> On Mon, Aug 11, 2014 at 11:54:29AM +0530, Vinod Koul wrote:
> > On Thu, Aug 07, 2014 at 06:13:24PM +0100, Mark Brown wrote:
> > > On Thu, Aug 07, 2014 at 07:46:05PM +0530, Vinod Koul wrote:
> 
> > > > I was thinking about this as well a while back, wont it make sense to let
> > > > machine driver expose meaningful controls for this. Just like we have fixup
> > > > for back-ends, we can add fixups for codec-codec links and let machine tell
> > > > you the parameters to configure.
> 
> > > This is supposed to be pretty much the same thing (not looked at the
> > > patch yet) - the machine driver passes in a list of possible settings
> > > and then a control gets generated allowing the user to pick one.
> 
> > Yes but this is bit different from the current way of using fixups for BEs.
> > So it would be bit incosistent. For pcms it would be only fixups and for
> > loops it would be machine controls
> 
> That doesn't mean it's the best way to go in the end though - long term
> I expect to see us move away from that to something more data driven and
> DAPM integrated.  Requiring drivers to open code things rather than
> factoring out the code doesn't seem like the right way forwards.
Okay if that is the direction then this sound good to me.

Only one last nitpick on how do we set different format value apart from
sample rate, bits etc here. We have devices talking on same port and each one is
different format(one use i2s, one uses tdm ...), so how do we handle that part?

Thanks
-- 
~Vinod

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ