* [PATCH] ALSA: docs: remove references to removed CONFIG_SND_HDA_POWER_SAVE
@ 2026-06-10 1:56 Ethan Nelson-Moore
2026-06-10 2:11 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-10 1:56 UTC (permalink / raw)
To: linux-sound, linux-doc
Cc: Ethan Nelson-Moore, Jaroslav Kysela, Takashi Iwai,
Jonathan Corbet, Shuah Khan, Rhys Tumelty, Randy Dunlap
The CONFIG_SND_HDA_POWER_SAVE option was removed in commit 83012a7ccbb9
("ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE"), but references to
it remained in documentation. Remove them.
Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
Documentation/sound/designs/powersave.rst | 5 +++--
Documentation/sound/hd-audio/notes.rst | 3 ---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/Documentation/sound/designs/powersave.rst b/Documentation/sound/designs/powersave.rst
index ca7d1e838b4d..4b9d6d0b0d98 100644
--- a/Documentation/sound/designs/powersave.rst
+++ b/Documentation/sound/designs/powersave.rst
@@ -3,8 +3,9 @@ Notes on Power-Saving Mode
==========================
AC97 and HD-audio drivers have the automatic power-saving mode.
-This feature is enabled via Kconfig ``CONFIG_SND_AC97_POWER_SAVE``
-and ``CONFIG_SND_HDA_POWER_SAVE`` options, respectively.
+For HD-audio devices, this feature is enabled if ``CONFIG_PM`` is
+enabled. For AC97 devices, it is enabled via the Kconfig
+``CONFIG_SND_AC97_POWER_SAVE`` option.
With the automatic power-saving, the driver turns off the codec power
appropriately when no operation is required. When no applications use
diff --git a/Documentation/sound/hd-audio/notes.rst b/Documentation/sound/hd-audio/notes.rst
index 6993bfa159b4..1412a8eabfa8 100644
--- a/Documentation/sound/hd-audio/notes.rst
+++ b/Documentation/sound/hd-audio/notes.rst
@@ -341,9 +341,6 @@ hwdep option above. When enabled, you'll have some sysfs files under
the corresponding hwdep directory. See "HD-audio reconfiguration"
section below.
-``CONFIG_SND_HDA_POWER_SAVE`` option enables the power-saving feature.
-See "Power-saving" section below.
-
Codec Proc-File
---------------
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ALSA: docs: remove references to removed CONFIG_SND_HDA_POWER_SAVE
2026-06-10 1:56 [PATCH] ALSA: docs: remove references to removed CONFIG_SND_HDA_POWER_SAVE Ethan Nelson-Moore
@ 2026-06-10 2:11 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2026-06-10 2:11 UTC (permalink / raw)
To: Ethan Nelson-Moore, linux-sound, linux-doc
Cc: Jaroslav Kysela, Takashi Iwai, Jonathan Corbet, Shuah Khan,
Rhys Tumelty
On 6/9/26 6:56 PM, Ethan Nelson-Moore wrote:
> The CONFIG_SND_HDA_POWER_SAVE option was removed in commit 83012a7ccbb9
> ("ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE"), but references to
> it remained in documentation. Remove them.
>
> Discovered while searching for CONFIG_* symbols referenced in code but
> not defined in any Kconfig file.
>
> Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
LGTM. Thanks.
Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Documentation/sound/designs/powersave.rst | 5 +++--
> Documentation/sound/hd-audio/notes.rst | 3 ---
> 2 files changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/sound/designs/powersave.rst b/Documentation/sound/designs/powersave.rst
> index ca7d1e838b4d..4b9d6d0b0d98 100644
> --- a/Documentation/sound/designs/powersave.rst
> +++ b/Documentation/sound/designs/powersave.rst
> @@ -3,8 +3,9 @@ Notes on Power-Saving Mode
> ==========================
>
> AC97 and HD-audio drivers have the automatic power-saving mode.
> -This feature is enabled via Kconfig ``CONFIG_SND_AC97_POWER_SAVE``
> -and ``CONFIG_SND_HDA_POWER_SAVE`` options, respectively.
> +For HD-audio devices, this feature is enabled if ``CONFIG_PM`` is
> +enabled. For AC97 devices, it is enabled via the Kconfig
> +``CONFIG_SND_AC97_POWER_SAVE`` option.
>
> With the automatic power-saving, the driver turns off the codec power
> appropriately when no operation is required. When no applications use
> diff --git a/Documentation/sound/hd-audio/notes.rst b/Documentation/sound/hd-audio/notes.rst
> index 6993bfa159b4..1412a8eabfa8 100644
> --- a/Documentation/sound/hd-audio/notes.rst
> +++ b/Documentation/sound/hd-audio/notes.rst
> @@ -341,9 +341,6 @@ hwdep option above. When enabled, you'll have some sysfs files under
> the corresponding hwdep directory. See "HD-audio reconfiguration"
> section below.
>
> -``CONFIG_SND_HDA_POWER_SAVE`` option enables the power-saving feature.
> -See "Power-saving" section below.
> -
>
> Codec Proc-File
> ---------------
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-10 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 1:56 [PATCH] ALSA: docs: remove references to removed CONFIG_SND_HDA_POWER_SAVE Ethan Nelson-Moore
2026-06-10 2:11 ` Randy Dunlap
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.