Skip to content

Commit 3540cc4

Browse files
committed
ALSA: usb-audio: Drop superfluous kernel-doc markers
We don't process USB-audio driver code for kernel-doc, and the "/**" marker leads to warnings with W=1 builds. Drop the superfluous markers. Link: https://patch.msgid.link/20260226154414.1081568-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 786ea2b commit 3540cc4

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

sound/usb/mixer_s1810c.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* * e I guess the same as with mixer
7272
*
7373
*/
74-
/** struct s1810c_ctl_packet - basic vendor request
74+
/* struct s1810c_ctl_packet - basic vendor request
7575
* @selector: device/mixer/output
7676
* @b: request-dependant field b
7777
* @tag: fixed value identifying type of request
@@ -94,14 +94,14 @@ struct s1810c_ctl_packet {
9494
__le32 e;
9595
};
9696

97-
/** selectors for CMD request
97+
/* selectors for CMD request
9898
*/
9999
#define SC1810C_SEL_DEVICE 0
100100
#define SC1810C_SEL_MIXER 0x64
101101
#define SC1810C_SEL_OUTPUT 0x65
102102

103103

104-
/** control ids */
104+
/* control ids */
105105
#define SC1810C_CTL_LINE_SW 0
106106
#define SC1810C_CTL_MUTE_SW 1
107107
#define SC1824C_CTL_MONO_SW 2
@@ -127,7 +127,7 @@ struct s1810c_ctl_packet {
127127
#define SC1810C_GET_STATE_TAG SC1810C_SET_STATE_TAG
128128
#define SC1810C_GET_STATE_LEN SC1810C_SET_STATE_LEN
129129

130-
/** Mixer levels normally range from 0 (off) to 0x0100 0000 (0 dB).
130+
/* Mixer levels normally range from 0 (off) to 0x0100 0000 (0 dB).
131131
* raw_level = 2^24 * 10^(db_level / 20), thus
132132
* -3dB = 0xb53bf0 (technically, half-power -3.01...dB would be 0xb504f3)
133133
* -96dB = 0x109
@@ -145,7 +145,7 @@ struct s1810c_ctl_packet {
145145
#define MIXER_LEVEL_N3DB 0xb53bf0
146146
#define MIXER_LEVEL_0DB 0x1000000
147147

148-
/**
148+
/*
149149
* This packet includes mixer volumes and
150150
* various other fields, it's an extended
151151
* version of ctl_packet, with a and b
@@ -155,7 +155,7 @@ struct s1810c_state_packet {
155155
__le32 fields[63];
156156
};
157157

158-
/** indices into s1810c_state_packet.fields[]
158+
/* indices into s1810c_state_packet.fields[]
159159
*/
160160
#define SC1810C_STATE_TAG_IDX 2
161161
#define SC1810C_STATE_LEN_IDX 3

0 commit comments

Comments
 (0)