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@xxxxxxxxxxxxxxx>
---
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
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]