24 Nov
2014
24 Nov
'14
2:44 a.m.
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