From deb6596f163b7340ff8f5a7c23e25317e165c669 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 23 Jan 2014 11:02:15 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed