]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA - hda: hdmi check NULL pointer in hdmi_set_chmap
authorLibin Yang <libin.yang@linux.intel.com>
Mon, 18 Apr 2016 01:16:28 +0000 (09:16 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Apr 2016 05:27:08 +0000 (07:27 +0200)
commited0739b577f2ddd53835f1e20d014fccab195c42
treef10b5731389166f632eb6f5e7cd01c8c670f66b6
parent50fd4987c4f3c3ebf0ce94d932732011bbdc7c71
ALSA - hda: hdmi check NULL pointer in hdmi_set_chmap

Make sure per_pin is not NULL before using it.

Fixes: 9b3dc8aa3fb1 ('ALSA: hda - Register chmap obj as priv data instead of codec')
Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c