[ALSA] hda-codec - Add zero checks in input-mux helper functions
authorTakashi Iwai <tiwai@suse.de>
Tue, 9 Oct 2007 09:58:41 +0000 (11:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:51:07 +0000 (16:51 +0200)
Added zero checks in input-mux helper functions to avoid Oops.
Some devices may have no input pins while the driver registers
control elements calling these functions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

No differences found