Skip to content

Commit ad4a18c

Browse files
cristiccgregkh
authored andcommitted
ALSA: usb-audio: Fix block comments in mixer_quirks
[ Upstream commit 231225d ] Address a couple of comment formatting issues indicated by checkpatch.pl: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250526-dualsense-alsa-jack-v1-4-1a821463b632@collabora.com Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 3aa9dae commit ad4a18c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sound/usb/mixer_quirks.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ static int snd_create_std_mono_ctl_offset(struct usb_mixer_interface *mixer,
7575
cval->idx_off = idx_off;
7676

7777
/* get_min_max() is called only for integer volumes later,
78-
* so provide a short-cut for booleans */
78+
* so provide a short-cut for booleans
79+
*/
7980
cval->min = 0;
8081
cval->max = 1;
8182
cval->res = 0;
@@ -2502,7 +2503,8 @@ static void snd_dragonfly_quirk_db_scale(struct usb_mixer_interface *mixer,
25022503
struct snd_kcontrol *kctl)
25032504
{
25042505
/* Approximation using 10 ranges based on output measurement on hw v1.2.
2505-
* This seems close to the cubic mapping e.g. alsamixer uses. */
2506+
* This seems close to the cubic mapping e.g. alsamixer uses.
2507+
*/
25062508
static const DECLARE_TLV_DB_RANGE(scale,
25072509
0, 1, TLV_DB_MINMAX_ITEM(-5300, -4970),
25082510
2, 5, TLV_DB_MINMAX_ITEM(-4710, -4160),

0 commit comments

Comments
 (0)