dapm_graph: fixup for python v3

Python v2 emits a list from filter, python3 emits a iterator which does
not support len(). Convert iterator to list to fix for python 3.

BUG=None
TEST=Run with python3 on octopus

Change-Id: I7d7ade13b92e8f958d264a9a77878858b3147846
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2236572
Tested-by: Curtis Malainey <cujomalainey@chromium.org>
Tested-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Auto-Submit: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Curtis Malainey <cujomalainey@chromium.org>
1 file changed