Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joonas Saarinen <jonskunator@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: LG LW25 pin fix
Date: Sat, 10 Aug 2013 02:01:36 +0300	[thread overview]
Message-ID: <520574D0.3010102@gmail.com> (raw)
In-Reply-To: <s5hk3jv2lpx.wl%tiwai@suse.de>

Yup, works as expected. Thank you!

Joonas

On 09.08.2013 13:38, Takashi Iwai wrote:
> At Fri, 09 Aug 2013 12:10:29 +0300,
> Joonas Saarinen wrote:
>> upload=true&script=true&cardinfo=
>> !!################################
>> !!ALSA Information Script v 0.4.62
>> !!################################
> At the next time, please use the attachment, since your MUA breaks the
> spaces, and I had to fix them manually.
>
> In anyway, below is the fix patch.  Give it a try.
>
>
> thanks,
>
> Takashi
>
> ---
> From: Takashi Iwai <tiwai@suse.de>
> Subject: [PATCH] ALSA: hda - Add pinfix for LG LW25 laptop
>
> Correct the pins for a line-in and a headphone on LG LW25 laptop with
> ALC880 codec.  Other pins seem fine.
>
> Reported-by: Joonas Saarinen <jonskunator@gmail.com>
> Cc: <stable@vger.kernel.org> [v3.9+]
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
>   sound/pci/hda/patch_realtek.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 8bd2261..5b22bf9 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -1031,6 +1031,7 @@ enum {
>   	ALC880_FIXUP_GPIO2,
>   	ALC880_FIXUP_MEDION_RIM,
>   	ALC880_FIXUP_LG,
> +	ALC880_FIXUP_LG_LW25,
>   	ALC880_FIXUP_W810,
>   	ALC880_FIXUP_EAPD_COEF,
>   	ALC880_FIXUP_TCL_S700,
> @@ -1089,6 +1090,14 @@ static const struct hda_fixup alc880_fixups[] = {
>   			{ }
>   		}
>   	},
> +	[ALC880_FIXUP_LG_LW25] = {
> +		.type = HDA_FIXUP_PINS,
> +		.v.pins = (const struct hda_pintbl[]) {
> +			{ 0x1a, 0x0181344f }, /* line-in */
> +			{ 0x1b, 0x0321403f }, /* headphone */
> +			{ }
> +		}
> +	},
>   	[ALC880_FIXUP_W810] = {
>   		.type = HDA_FIXUP_PINS,
>   		.v.pins = (const struct hda_pintbl[]) {
> @@ -1341,6 +1350,7 @@ static const struct snd_pci_quirk alc880_fixup_tbl[] = {
>   	SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG),
>   	SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG),
>   	SND_PCI_QUIRK(0x1854, 0x0068, "LG w1", ALC880_FIXUP_LG),
> +	SND_PCI_QUIRK(0x1854, 0x0077, "LG LW25", ALC880_FIXUP_LG_LW25),
>   	SND_PCI_QUIRK(0x19db, 0x4188, "TCL S700", ALC880_FIXUP_TCL_S700),
>   
>   	/* Below is the copied entries from alc880_quirks.c.

  reply	other threads:[~2013-08-09 23:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 19:46 LG LW25 pin fix Joonas Saarinen
2013-08-09  6:19 ` Takashi Iwai
2013-08-09  9:10   ` Joonas Saarinen
2013-08-09 10:38     ` Takashi Iwai
2013-08-09 23:01       ` Joonas Saarinen [this message]
2013-08-12  9:04         ` 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=520574D0.3010102@gmail.com \
    --to=jonskunator@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /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