ALSA: hda - Add hda_controller.c and move pcm ops from hda_intel
authorDylan Reid <dgreid@chromium.org>
Fri, 28 Feb 2014 23:41:22 +0000 (15:41 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Mar 2014 10:22:17 +0000 (11:22 +0100)
commit05e848788e30b2ee0b2736b99b6e458b6c7a4e7d
tree30d49442fcbcef20ec6327567e6f3e3c3ed315fd
parent8769b278610c71a32ae9662219b2f450d48a828c
ALSA: hda - Add hda_controller.c and move pcm ops from hda_intel

Pull the pcm_ops and the functions they use into a new hda_controller
file.  This is done to allow for other hda implementations besides PCI
to use the same ops.  The hda_controller file will house functionality
related to HDA but independent of the bus used to talk to the
controller.

This currently shares dsp locking across the two files.  This will be
remedied in a following commit.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/Makefile
sound/pci/hda/hda_controller.c [new file with mode: 0644]
sound/pci/hda/hda_controller.h [new file with mode: 0644]
sound/pci/hda/hda_intel.c