Skip to content

Commit

Permalink
ALSA: docs: Fix module paths in /sys
Browse files Browse the repository at this point in the history
It's /sys/module/ (singular), not /sys/modules/.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Link: https://patch.msgid.link/20250130180823.1864-2-jwilk@jwilk.net
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Jakub Wilk authored and Takashi Iwai committed Feb 5, 2025
1 parent 1d5efdd commit de7d2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/sound/alsa-configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ debug
2 = verbose debug messages);
This option appears only when ``CONFIG_SND_DEBUG=y``.
This option can be dynamically changed via sysfs
/sys/modules/snd/parameters/debug file.
/sys/module/snd/parameters/debug file.

Module snd-pcm-oss
------------------
Expand Down
4 changes: 2 additions & 2 deletions Documentation/sound/designs/powersave.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ operations.
The ``power_save`` option is exported as writable. This means you can
adjust the value via sysfs on the fly. For example, to turn on the
automatic power-save mode with 10 seconds, write to
``/sys/modules/snd_ac97_codec/parameters/power_save`` (usually as root):
``/sys/module/snd_ac97_codec/parameters/power_save`` (usually as root):
::

# echo 10 > /sys/modules/snd_ac97_codec/parameters/power_save
# echo 10 > /sys/module/snd_ac97_codec/parameters/power_save


Note that you might hear click noise/pop when changing the power
Expand Down

0 comments on commit de7d2a7

Please sign in to comment.