diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 15:34:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 07:49:46 +0200 |
commit | fea1510719dd2a33e0ffa1eae6118c5437f7071d (patch) | |
tree | 3fcd8e6217a5ae32dc402ecdaf87a2121e85901a /include/sound | |
parent | def358f9baaa7ca7b04cd8fe1f72af2605f11209 (diff) | |
download | lwn-fea1510719dd2a33e0ffa1eae6118c5437f7071d.tar.gz lwn-fea1510719dd2a33e0ffa1eae6118c5437f7071d.zip |
ALSA: emux: Use standard print API
Use the standard print API with dev_*() instead of the old house-baked
one. It gives better information and allows dynamically control of
debug prints.
Some functions are changed to receive snd_card object for calling
dev_*() functions, too.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-44-tiwai@suse.de
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soundfont.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sound/soundfont.h b/include/sound/soundfont.h index 98ed98d89d6d..8a40cc15f66d 100644 --- a/include/sound/soundfont.h +++ b/include/sound/soundfont.h @@ -86,9 +86,11 @@ struct snd_sf_list { }; /* Prototypes for soundfont.c */ -int snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data, +int snd_soundfont_load(struct snd_card *card, + struct snd_sf_list *sflist, const void __user *data, long count, int client); -int snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data, +int snd_soundfont_load_guspatch(struct snd_card *card, + struct snd_sf_list *sflist, const char __user *data, long count); int snd_soundfont_close_check(struct snd_sf_list *sflist, int client); |