git://git.alsa-project.org
/
alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce2516
)
namehint: Fix hw device evaluation (missing last device)
author
Jaroslav Kysela
<perex@perex.cz>
Fri, 1 Oct 2010 11:31:45 +0000
(13:31 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Fri, 1 Oct 2010 11:31:45 +0000
(13:31 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/control/namehint.c
patch
|
blob
|
history
diff --git
a/src/control/namehint.c
b/src/control/namehint.c
index
e06d240
..
ab3525e
100644
(file)
--- a/
src/control/namehint.c
+++ b/
src/control/namehint.c
@@
-446,7
+446,7
@@
static int add_card(struct hint_list *list, int card)
ok++;
}
ok = 0;
- for (device = 0; err >= 0 && device < max_device; device++) {
+ for (device = 0; err >= 0 && device <
=
max_device; device++) {
list->device = device;
err = try_config(list, list->siface, str);
if (err < 0)