Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Julia Lawall and committed by
Takashi Iwai
94968fc3 60dd3ace

+4 -4
+1 -1
sound/pci/echoaudio/echoaudio.c
··· 2159 2159 */ 2160 2160 pipe_alloc_mask = chip->pipe_alloc_mask; 2161 2161 chip->pipe_alloc_mask = 0; 2162 - err = restore_dsp_rettings(chip); 2162 + err = restore_dsp_settings(chip); 2163 2163 chip->pipe_alloc_mask = pipe_alloc_mask; 2164 2164 if (err < 0) { 2165 2165 kfree(commpage_bak);
+3 -3
sound/pci/echoaudio/echoaudio_dsp.c
··· 32 32 #error PAGE_SIZE is < 4k 33 33 #endif 34 34 35 - static int restore_dsp_rettings(struct echoaudio *chip); 35 + static int restore_dsp_settings(struct echoaudio *chip); 36 36 37 37 38 38 /* Some vector commands involve the DSP reading or writing data to and from the ··· 666 666 667 667 668 668 669 - static int restore_dsp_rettings(struct echoaudio *chip) 669 + static int restore_dsp_settings(struct echoaudio *chip) 670 670 { 671 671 int i, o, err; 672 672 ··· 1014 1014 chip->input_clock = ECHO_CLOCK_INTERNAL; 1015 1015 chip->output_clock = ECHO_CLOCK_WORD; 1016 1016 chip->sample_rate = 44100; 1017 - return restore_dsp_rettings(chip); 1017 + return restore_dsp_settings(chip); 1018 1018 } 1019 1019 1020 1020