commit | deb6596f163b7340ff8f5a7c23e25317e165c669 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Jan 23 11:02:15 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Jan 23 11:45:24 2014 +0100 |
tree | 02b80b39a1867aeef2deb2b92d1a2e0f0b948729 | |
parent | 4c3773eda49c872a3034382f8ec3080002e715bf [diff] |
ALSA: Refactor slot assignment code There are two loops that are almost identical but only with different checks. Refactor them with a simple helper, and give a bit more comments what's doing there. Signed-off-by: Takashi Iwai <tiwai@suse.de>