diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-06-26 18:50:16 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-26 20:00:01 +0400 |
commit | b6050ef664219a0bc97d0626759ef070ed77fcba (patch) | |
tree | 2a69c2b96d819a324ea132f2b938b4dd01a3e88d /sound/pci/hda/hda_tegra.c | |
parent | 085ec0d945cd52caba3765e4cbcfe24cc136e905 (diff) | |
download | linux-b6050ef664219a0bc97d0626759ef070ed77fcba.tar.xz |
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>
Diffstat (limited to 'sound/pci/hda/hda_tegra.c')
-rw-r--r-- | sound/pci/hda/hda_tegra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c index a366ba9293a8..12920b99d238 100644 --- a/sound/pci/hda/hda_tegra.c +++ b/sound/pci/hda/hda_tegra.c @@ -480,8 +480,6 @@ static int hda_tegra_create(struct snd_card *card, INIT_LIST_HEAD(&chip->pcm_list); INIT_LIST_HEAD(&chip->list); - chip->position_fix[0] = POS_FIX_AUTO; - chip->position_fix[1] = POS_FIX_AUTO; chip->codec_probe_mask = -1; chip->single_cmd = false; |