[alsa-devel] [PATCH] ASoC: soc-pcm: skip dpcm path checking with incapable/unready FE

Qiao Zhou zhouqiao at marvell.com
Mon Nov 24 02:44:36 CET 2014


On 11/22/2014 03:32 AM, Mark Brown wrote:
> 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.
>
Mark,

Thanks for the correction.

-- 

Best Regards
Qiao


More information about the Alsa-devel mailing list