Skip to content

Commit 94968fc

Browse files
JuliaLawalltiwai
authored andcommitted
ALSA: echoaudio: adjust function name
The function restore_dsp_rettings sets a lot of things, so change the name to the more natural restore_dsp_settings. This name was indeed already used in a comment above the code in sound/pci/echoaudio/echoaudio.c. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Link: https://patch.msgid.link/20251231161116.141071-1-Julia.Lawall@inria.fr Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 60dd3ac commit 94968fc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

sound/pci/echoaudio/echoaudio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2159,7 +2159,7 @@ static int snd_echo_resume(struct device *dev)
21592159
*/
21602160
pipe_alloc_mask = chip->pipe_alloc_mask;
21612161
chip->pipe_alloc_mask = 0;
2162-
err = restore_dsp_rettings(chip);
2162+
err = restore_dsp_settings(chip);
21632163
chip->pipe_alloc_mask = pipe_alloc_mask;
21642164
if (err < 0) {
21652165
kfree(commpage_bak);

sound/pci/echoaudio/echoaudio_dsp.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#error PAGE_SIZE is < 4k
3333
#endif
3434

35-
static int restore_dsp_rettings(struct echoaudio *chip);
35+
static int restore_dsp_settings(struct echoaudio *chip);
3636

3737

3838
/* Some vector commands involve the DSP reading or writing data to and from the
@@ -666,7 +666,7 @@ static void get_audio_meters(struct echoaudio *chip, long *meters)
666666

667667

668668

669-
static int restore_dsp_rettings(struct echoaudio *chip)
669+
static int restore_dsp_settings(struct echoaudio *chip)
670670
{
671671
int i, o, err;
672672

@@ -1014,7 +1014,7 @@ static int init_line_levels(struct echoaudio *chip)
10141014
chip->input_clock = ECHO_CLOCK_INTERNAL;
10151015
chip->output_clock = ECHO_CLOCK_WORD;
10161016
chip->sample_rate = 44100;
1017-
return restore_dsp_rettings(chip);
1017+
return restore_dsp_settings(chip);
10181018
}
10191019

10201020

0 commit comments

Comments
 (0)