Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: hda/tas2781: remove unnecessary runtime_pm calls

The runtime_pm handling seems to have been loosely inspired by the
cs32l41 driver, but in this case the get_noresume/put sequence is not
required.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Message-ID: <20240312161217.79510-1-pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Pierre-Louis Bossart and committed by
Takashi Iwai
526d0283 300ab0df

-3
-3
sound/pci/hda/tas2781_hda_i2c.c
··· 796 796 pm_runtime_use_autosuspend(tas_hda->dev); 797 797 pm_runtime_mark_last_busy(tas_hda->dev); 798 798 pm_runtime_set_active(tas_hda->dev); 799 - pm_runtime_get_noresume(tas_hda->dev); 800 799 pm_runtime_enable(tas_hda->dev); 801 - 802 - pm_runtime_put_autosuspend(tas_hda->dev); 803 800 804 801 tas2781_reset(tas_hda->priv); 805 802