ALSA: hda/realtek - Fix possible Oops with NULL input_mux

When BIOS is damn crazy and gives no pin-config at all, the driver might
lead to a NULL dereference.  Let's add a NULL check for such a case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2012-02-21 11:59:45 +01:00
commit 5803a32646