]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - hdmi: Allow HDA patches to customize more operations
authorAnssi Hannula <anssi.hannula@iki.fi>
Thu, 24 Oct 2013 18:10:34 +0000 (21:10 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Oct 2013 20:52:53 +0000 (22:52 +0200)
commitce3eb5f21a7ab3da98a9da86cad87e79320defc9
treedfb0d5168cf6e193bf87919647c8df8b8316fae7
parent5fcd2416f185303e38c01ec117871a07386fc335
ALSA: hda - hdmi: Allow HDA patches to customize more operations

Upcoming AMD multichannel support requires many customized operations
(channel mapping, ELD, HBR) but can otherwise share most of its code
with the generic patch.

Add a local struct hdmi_ops containing customizable HDMI-specific
callbacks and move the current code to those callbacks. Functionality is
unaltered.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c