audio: Modify the logic to find supported sound card

- Current logic iterates over sound cards 0,1,2..8 for a fixed
period of time of 5 secs each, taking the complete time to 40 secs
if a sound card is not found.
- Update the logic to reflect the above design, try for all the sound cards,
if none of them detected, sleep for 1 sec and then iterate from sound card 0
again.

Change-Id: Ie4dde8b7797dcb32f7833a25015faabb273e6e1a
1 file changed