[alsa-devel] [PATCH] ASoC: soc-pcm: skip dpcm path checking with incapable/unready FE
Mark Brown
broonie at kernel.org
Fri Nov 21 20:32:01 CET 2014
On Mon, Nov 17, 2014 at 04:02:57PM +0800, Qiao Zhou wrote:
> Skip dpcm path checking for playback or capture, if corresponding FE
> doesn't support playback or capture, or currently is not ready. It
> can reduce the unnecessary cost to search connected widgets.
Applied, but I did change...
> + /* skip if FE doesn't do playback */
> + if (!fe->cpu_dai->playback_active
> + || !fe->codec_dai->playback_active)
...this and the corresponding capture comment to say "isn't currently
playing" - it's not if the front end can play, it's if it is playing
right now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141121/0b56a459/attachment.sig>
More information about the Alsa-devel
mailing list