ALSA: hda - Don't assume non-NULL PCM ops
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Feb 2015 16:57:55 +0000 (17:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Mar 2015 10:26:27 +0000 (11:26 +0100)
The PCM ops might be set NULL, or cleared to NULL when the driver is
unbound.  Give a proper NULL check at each place to be more robust.

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

Simple merge
Simple merge