mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Fix breakage of snd_card_load()
Fixed the breakage of snd_card_load() for secondary and later cards due to changes in snd_card_load1(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bb956b7b70
commit
4d2ba6a460
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ static int snd_card_load1(int card)
|
||||||
*/
|
*/
|
||||||
int snd_card_load(int card)
|
int snd_card_load(int card)
|
||||||
{
|
{
|
||||||
return !!(snd_card_load1(card) == 0);
|
return !!(snd_card_load1(card) >= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue