]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Allow calling snd_hdac_i915_*() without actual binding
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 Jun 2015 10:15:27 +0000 (12:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Jun 2015 10:15:27 +0000 (12:15 +0200)
commit2a301193c416029a767c3ea05f7c79176591e8c5
treedb693eec5c648e64c954f4c91393ff1d05610b0a
parenta0c0cd312b7d593cd672eb0addb86b9611077b1d
ALSA: hda - Allow calling snd_hdac_i915_*() without actual binding

Add the missing NULL checks so that snd_hdac_i915*() can be called
even after the binding with i915 failed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_i915.c