aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-23 11:02:15 +0100
committerTakashi Iwai <tiwai@suse.de>2014-01-23 11:45:24 +0100
commitdeb6596f163b7340ff8f5a7c23e25317e165c669 (patch)
tree02b80b39a1867aeef2deb2b92d1a2e0f0b948729 /sound/pci
parentALSA: bits vs bytes bug in snd_card_create() (diff)
downloadlinux-dev-deb6596f163b7340ff8f5a7c23e25317e165c669.tar.xz
linux-dev-deb6596f163b7340ff8f5a7c23e25317e165c669.zip
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions