Re: [PATCH] LG K1 Express Laptop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Mon, 14 Aug 2006 23:44:55 +0200,
Magnus Sandin wrote:
> 
> The attached patch will unset the S/PDIF-in bit (on LG K1 Express
> Laptops only) in the vendor specific register 0x7A of the Realtek ALC655
> chip.
> 
> Without this patch, there where no sound on the LG K1 Express model:
> K1-2333V laptop at all.
> 
> Regards
> // Magnus Sandin
> 
> [2 alsa-lg_k1_express.patch <text/x-patch (7bit)>]
> diff -Nru alsa-kernel/pci/ac97/ac97_patch.c alsa-kernel-patched/pci/ac97/ac97_patch.c
> --- alsa-kernel/pci/ac97/ac97_patch.c   2006-08-14 22:13:17.000000000 +0200
> +++ alsa-kernel-patched/pci/ac97/ac97_patch.c   2006-08-14 23:20:32.000000000 +0200
> @@ -2210,6 +2210,9 @@
>                 if (ac97->subsystem_vendor == 0x1462 &&
>                     ac97->subsystem_device == 0x0131) /* MSI S270 laptop */
>                         val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
> +               else if (ac97->subsystem_vendor == 0x1462 &&
> +                        ac97->subsystem_device == 0x0161) /* LG K1 Express Laptop */
> +                       val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
>                 else
>                         val |= (1 << 1); /* Pin 47 is spdif input pin */
>         }

I prefer putting it to a single if block.
Could you rewrite the patch and give a proper signed-off-by?


thanks,

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux