[alsa-devel] Ordering in soc_pcm_hw_params()
Mark Brown
broonie at kernel.org
Mon Aug 11 17:33:42 CEST 2014
On Mon, Aug 11, 2014 at 09:35:51AM -0400, jonsmirl at gmail.com wrote:
> I have code in the cpu set_hw_params which will switch the sysclk, but
> it never gets to run because the codec set_hw_params() has already
> errored out.
> Shouldn't this order be:
> platform, link, cpu, codec
No, the machine driver runs first so it can do any coordination needed
between the other devices. Attempting to fiddle about with the ordering
is never going to be robust, someone else will always want a different
ordering at some point.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140811/e42dc119/attachment.sig>
More information about the Alsa-devel
mailing list