mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Anderson <ruinairas1992@gmail.com>
To: tiwai@suse.com
Cc: perex@perex.cz, luke@ljones.dev, sbinding@opensource.cirrus.com,
	linux-kernel@vger.kernel.org,
	Matthew Anderson <ruinairas1992@gmail.com>
Subject: [PATCH 2/2] ALSA: hda/realtek: Add quirks for Asus ROG Ally handheld using CS35L41
Date: Tue, 20 Jun 2023 19:24:01 -0500	[thread overview]
Message-ID: <20230621002401.38244-1-ruinairas1992@gmail.com> (raw)

V1 > V2 Fix indentation

Signed-off-by: Matthew Anderson <ruinairas1992@gmail.com>
---
 sound/pci/hda/patch_realtek.c | 42 +++++++++++++++++------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b918b0046144..a413bdee7f63 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8445,33 +8445,33 @@ static const struct hda_fixup alc269_fixups[] = {
 	[ALC294_FIXUP_ASUS_ALLY_PINS] = {
 		.type = HDA_FIXUP_PINS,
 		.v.pins = (const struct hda_pintbl[]) {
-						{ 0x19, 0x03a11050 },
-						{ 0x1a, 0x03a11C30 },
-						{ 0x21, 0x03211420 },
-						{ }
-				},
+			{ 0x19, 0x03a11050 },
+			{ 0x1a, 0x03a11C30 },
+			{ 0x21, 0x03211420 },
+			{ }
+		},
 		.chained = true,
 		.chain_id = ALC294_FIXUP_ASUS_ALLY_VERBS
 	},
 	[ALC294_FIXUP_ASUS_ALLY_VERBS] = {
 		.type = HDA_FIXUP_VERBS,
 		.v.verbs = (const struct hda_verb[]) {
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x46 },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0x0004 },
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x47 },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0xA47A },
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x49 },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0x0049},
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x4A },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0x201B },
-						{ 0x20, AC_VERB_SET_COEF_INDEX, 0x6B },
-						{ 0x20, AC_VERB_SET_PROC_COEF, 0x4278},
-						{ }
-				},
-				.chained = true,
-				.chain_id = ALC294_FIXUP_ASUS_ALLY_SPEAKER
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x45 },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0x5089 },
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x46 },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0x0004 },
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x47 },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0xA47A },
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x49 },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0x0049},
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x4A },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0x201B },
+			{ 0x20, AC_VERB_SET_COEF_INDEX, 0x6B },
+			{ 0x20, AC_VERB_SET_PROC_COEF, 0x4278},
+			{ }
+		},
+		.chained = true,
+		.chain_id = ALC294_FIXUP_ASUS_ALLY_SPEAKER
 		},
 	[ALC294_FIXUP_ASUS_ALLY_SPEAKER] = {
 		.type = HDA_FIXUP_FUNC,
-- 
2.41.0


             reply	other threads:[~2023-06-21  0:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21  0:24 Matthew Anderson [this message]
2023-06-21  5:21 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230621002401.38244-1-ruinairas1992@gmail.com \
    --to=ruinairas1992@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.dev \
    --cc=perex@perex.cz \
    --cc=sbinding@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®