db845c: audio_hal: Select the output/input card a bit more dynamically am: 57a023620c

Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/1817579

Change-Id: I12f7b06efd5368a9792094a245c11a5a94995be3