From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BB623C465; Tue, 30 Sep 2025 15:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759246036; cv=none; b=ADMmDcciJLy7Ce3VXjiG32CqjLAnOAOA/R7VGnO4uatwoNsskSvjR1U8xoVP0kEOWNg1uJHLdP8ezJo8Y9VD1O/5pKiss9er3IqTCBg7q0+EyT2l8gEZfhAnvDYr+VvlQgaCk9efLFz3vhQZsWLS6yqsyPY2XTh4BNAfncmAUmo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759246036; c=relaxed/simple; bh=ofU7ik3BF6BtvhmA+/HYayIjQZTfgaq4lSaJ2ViF2Lw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m7vVDLqVWZMKBYmbsaHmY5W3we1Ihj+yU8A4lnWOY/LQJMrw/9LgfyGd/fiIrZVeXwcSi87dwqHBPBqnZfo2OwDJ6G82X/LZsByjVicTk/MPKqA7oJT2o8vOubaHyQLek48B8OPX8nYu383XVm3eVTOtp2WUMO7IMU7HHRGm7II= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d/nesOpM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="d/nesOpM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E549C4CEF0; Tue, 30 Sep 2025 15:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759246036; bh=ofU7ik3BF6BtvhmA+/HYayIjQZTfgaq4lSaJ2ViF2Lw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/nesOpMF7LLRQKjaUzSULFSxVTKv7AbEy6k+HvovSCZE4KGy6uq7E6Y7COmOoRAP 3RKfyYAj488sWYrBaHlNfVJ/Qe+kGjwxkvy+eHR1zuxSWhX0/KDgp2Oiy5zCVnEt7r +BiewMkoOfaHDDsI9R8QOrGel6DBAlkfHGIHap7I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Cristian Ciocaltea , Takashi Iwai , Sasha Levin Subject: [PATCH 6.12 04/89] ALSA: usb-audio: Fix block comments in mixer_quirks Date: Tue, 30 Sep 2025 16:47:18 +0200 Message-ID: <20250930143822.046430370@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250930143821.852512002@linuxfoundation.org> References: <20250930143821.852512002@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Cristian Ciocaltea [ Upstream commit 231225d8a20f8668b4fd6601d54a2fac0e0ab7a5 ] 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 Signed-off-by: Takashi Iwai Link: https://patch.msgid.link/20250526-dualsense-alsa-jack-v1-4-1a821463b632@collabora.com Signed-off-by: Sasha Levin --- sound/usb/mixer_quirks.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 4d2232bef600d..a97d1ca8443ca 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -77,7 +77,8 @@ static int snd_create_std_mono_ctl_offset(struct usb_mixer_interface *mixer, cval->idx_off = idx_off; /* get_min_max() is called only for integer volumes later, - * so provide a short-cut for booleans */ + * so provide a short-cut for booleans + */ cval->min = 0; cval->max = 1; cval->res = 0; @@ -4131,7 +4132,8 @@ static void snd_dragonfly_quirk_db_scale(struct usb_mixer_interface *mixer, struct snd_kcontrol *kctl) { /* Approximation using 10 ranges based on output measurement on hw v1.2. - * This seems close to the cubic mapping e.g. alsamixer uses. */ + * This seems close to the cubic mapping e.g. alsamixer uses. + */ static const DECLARE_TLV_DB_RANGE(scale, 0, 1, TLV_DB_MINMAX_ITEM(-5300, -4970), 2, 5, TLV_DB_MINMAX_ITEM(-4710, -4160), -- 2.51.0