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)
commit692af901df615b7783caaccdb287cddf2d7f6059
treedb693eec5c648e64c954f4c91393ff1d05610b0a
parent8721fa692bc218df3f0ad30740baedf176a41f56
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