From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Jani Nikula <jani.nikula@intel.com>,
Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>,
Rodrigo Vivi <rodrigo.vivi@intel.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Lucas De Marchi <lucas.demarchi@intel.com>
Cc: linux-sound@vger.kernel.org
Subject: [PATCH 50/51] ALSA: intel_hdmi: Switch to __pm_runtime_put_autosuspend()
Date: Fri, 4 Oct 2024 12:41:55 +0300 [thread overview]
Message-ID: <20241004094155.114201-1-sakari.ailus@linux.intel.com> (raw)
In-Reply-To: <20241004094101.113349-1-sakari.ailus@linux.intel.com>
pm_runtime_put_autosuspend() will soon be changed to include a call to
pm_runtime_mark_last_busy(). This patch switches the current users to
__pm_runtime_put_autosuspend() which will continue to have the
functionality of old pm_runtime_put_autosuspend().
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
sound/x86/intel_hdmi_audio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c
index d41ea09ffbe5..1ae2949a0a6e 100644
--- a/sound/x86/intel_hdmi_audio.c
+++ b/sound/x86/intel_hdmi_audio.c
@@ -1102,7 +1102,7 @@ static int had_pcm_open(struct snd_pcm_substream *substream)
return retval;
error:
pm_runtime_mark_last_busy(intelhaddata->dev);
- pm_runtime_put_autosuspend(intelhaddata->dev);
+ __pm_runtime_put_autosuspend(intelhaddata->dev);
return retval;
}
@@ -1127,7 +1127,7 @@ static int had_pcm_close(struct snd_pcm_substream *substream)
spin_unlock_irq(&intelhaddata->had_spinlock);
pm_runtime_mark_last_busy(intelhaddata->dev);
- pm_runtime_put_autosuspend(intelhaddata->dev);
+ __pm_runtime_put_autosuspend(intelhaddata->dev);
return 0;
}
@@ -1589,7 +1589,7 @@ static void had_audio_wq(struct work_struct *work)
mutex_unlock(&ctx->mutex);
pm_runtime_mark_last_busy(ctx->dev);
- pm_runtime_put_autosuspend(ctx->dev);
+ __pm_runtime_put_autosuspend(ctx->dev);
}
/*
--
2.39.5
next prev parent reply other threads:[~2024-10-04 9:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 9:41 [PATCH 00/51] treewide: Switch to __pm_runtime_put_autosuspend() Sakari Ailus
2024-10-04 9:41 ` [PATCH 39/51] slimbus: " Sakari Ailus
2024-10-04 9:41 ` [PATCH 40/51] soundwire: " Sakari Ailus
2024-10-04 9:41 ` [PATCH 48/51] ALSA: hda: " Sakari Ailus
2024-10-04 10:56 ` Takashi Iwai
2024-10-04 23:57 ` Mark Brown
2024-10-04 9:41 ` [PATCH 49/51] ASoC: " Sakari Ailus
2024-10-04 9:41 ` Sakari Ailus [this message]
2024-10-04 14:38 ` [PATCH 00/51] treewide: " Ulf Hansson
2024-10-07 18:49 ` Laurent Pinchart
2024-10-07 22:08 ` Ulf Hansson
2024-10-07 22:25 ` Laurent Pinchart
2024-10-07 22:34 ` Ulf Hansson
2024-10-08 18:24 ` Rafael J. Wysocki
2024-10-09 10:20 ` Rafael J. Wysocki
2024-10-09 10:27 ` Ulf Hansson
2024-10-09 12:48 ` Richard Fitzgerald
2024-10-09 13:34 ` Rafael J. Wysocki
2024-10-08 20:38 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241004094155.114201-1-sakari.ailus@linux.intel.com \
--to=sakari.ailus@linux.intel.com \
--cc=jani.nikula@intel.com \
--cc=linux-sound@vger.kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=mitulkumar.ajitkumar.golani@intel.com \
--cc=perex@perex.cz \
--cc=rodrigo.vivi@intel.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox