diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-08-07 16:34:14 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-08 08:47:24 +0300 |
commit | 7f7eff209ee283eec9ae56e9c1446dd1ac3e1022 (patch) | |
tree | 825b093768af5c30441c1bc012a4ca1cdb597033 /include | |
parent | 257d0c813b65cd2afb5ee68c026053d011509063 (diff) | |
download | linux-7f7eff209ee283eec9ae56e9c1446dd1ac3e1022.tar.xz |
ALSA: es1688: 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.
For referring to the device, introduce snd_card pointer to struct
snd_es1688.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20240807133452.9424-25-tiwai@suse.de
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/es1688.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/es1688.h b/include/sound/es1688.h index 099569c31fbb..425a3717d77a 100644 --- a/include/sound/es1688.h +++ b/include/sound/es1688.h @@ -17,6 +17,7 @@ #define ES1688_HW_UNDEF 0x0003 struct snd_es1688 { + struct snd_card *card; unsigned long port; /* port of ESS chip */ struct resource *res_port; unsigned long mpu_port; /* MPU-401 port of ESS chip */ |