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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user