Skip to content

Commit 68f7f3f

Browse files
soyersoyertiwai
authored andcommitted
ALSA: hda/tas2781: configure the amp after firmware load
Make the amp available immediately after a module load to avoid having to wait for a PCM hook action. (eg. unloading & loading the module while listening music) Signed-off-by: Gergo Koteles <soyer@irl.hu> Link: https://lore.kernel.org/r/7f2f65d9212aa16edd4db8725489ae59dbe74c66.1703895108.git.soyer@irl.hu Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 66e82d2 commit 68f7f3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/pci/hda/tas2781_hda_i2c.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,8 @@ static void tasdev_fw_ready(const struct firmware *fmw, void *context)
584584
*/
585585
tas2781_save_calibration(tas_priv);
586586

587+
tasdevice_tuning_switch(tas_hda->priv, 0);
588+
587589
out:
588590
mutex_unlock(&tas_hda->priv->codec_lock);
589591
if (fmw)

0 commit comments

Comments
 (0)