ALSA: hda - Make position_fix as generic callback
authorTakashi Iwai <tiwai@suse.de>
Thu, 26 Jun 2014 14:50:16 +0000 (16:50 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jun 2014 16:00:01 +0000 (18:00 +0200)
... and move most parts into hda_intel.c from the generic controller
code.  This is a clean up, and there should be no functional change by
this patch.

Now, struct azx obtains the generic callbacks for getting the position
and the delay.  As default NULL, posbuf is read.  These replace the
old position_fix[], and each is implemented as a callback.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_controller.h
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_priv.h
sound/pci/hda/hda_tegra.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge