mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ALSA: hda - Don't assume non-NULL PCM ops
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>
This commit is contained in:
parent
bbbc7e8502
commit
61ca4107a1
2 changed files with 26 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue