ALSA: hdmi - merge common code for intelhdmi and nvhdmi
authorWu Fengguang <fengguang.wu@intel.com>
Mon, 8 Mar 2010 02:44:23 +0000 (10:44 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Mar 2010 07:21:08 +0000 (08:21 +0100)
commit079d88ccc374d2c1a850b8a83595ba4c907fb3df
treeea1145a3af7355383bdb59dc75ffe59c3fee2f0e
parent4193d13b2c2b694aa59e629e6daf6269d7922f13
ALSA: hdmi - merge common code for intelhdmi and nvhdmi

Create patch_hdmi.c to hold common code from intelhdmi and nvhdmi.

For now the patch_hdmi.c file is simply included by patch_intelhdmi.c
and patch_nvhdmi.c, and does not represent a real codec.

There are no behavior changes to intelhdmi. However nvhdmi made several
changes when copying code out of intelhdmi, which are all reverted in
this patch. Wei Ni confirmed that the reverted code actually works fine.

Tested-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c [new file with mode: 0644]
sound/pci/hda/patch_intelhdmi.c
sound/pci/hda/patch_nvhdmi.c