]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitb6050ef664219a0bc97d0626759ef070ed77fcba
tree2a69c2b96d819a324ea132f2b938b4dd01a3e88d
parent085ec0d945cd52caba3765e4cbcfe24cc136e905
ALSA: hda - Make position_fix as generic callback

... 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