]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fixes double fault in nvhdmi_chmap_cea_alloc_validate_get_type
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Mon, 14 Mar 2016 05:05:06 +0000 (10:35 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Mar 2016 07:30:47 +0000 (08:30 +0100)
commit4fea5323b6a917e84f143e5fbe37a24ef1df91f8
tree29a147a56dd99e3b80f9154582675082b587780c
parentd7ef6db3718ae36a46829370b04668d1d20a615b
ALSA: hda - Fixes double fault in nvhdmi_chmap_cea_alloc_validate_get_type

nvhdmi_chmap_cea_alloc_validate_get_type calls itself recursively
using chmap ops causing the double fault.

Fixed by adding the default validate_get_type handling inside nvdia
validate_get_type handler.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=114311
Fixes: 493c094 ("ALSA: hda - Create common chmap object")
Reported-by: Andreas Reis <andreas.reis@gmail.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Tested-by: Andreas Reis <andreas.reis@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c