lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 17 Apr 2007 11:59:12 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	bainonline@...il.com
Cc:	perex@...e.cz, linux-kernel@...r.kernel.org,
	alsa-devel@...a-project.org
Subject: Re: [alsa-devel] [PATCH] [ALSA] Add first generation macbook subsystem	ID

At Tue, 17 Apr 2007 10:01:47 +0530,
bainonline@...il.com wrote:
> 
> From: Abhijit Bhopatkar <bainonline@...il.com>
> 
> First generation MacBooks were getting ignored by sigmatel drivers
> and wrongly being identified as MACMINI. This patch makes them
> identify as MACBOOK.
> 
> Signed-off-by: Abhijit Bhopatkar <bainonline@...il.com>

This actually doesn't change behavior at all (both mac mini and mac
book use the same pin configs), but it's still nice to add ID if any
specific fix would be needed in future.

Applied to ALSA tree now.  Thanks.


Takashi

> ---
>  sound/pci/hda/patch_sigmatel.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
> index c94291b..cb99df5 100644
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -1905,6 +1905,9 @@ static int patch_stac922x(struct hda_codec *codec)
>  		 */
>  		printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", codec->subsystem_id);
>  		switch (codec->subsystem_id) {
> +		case 0x106b0a00: /* MacBook First generatoin */
> +			spec->board_config = STAC_MACBOOK;
> +			break;
>  		case 0x106b0200: /* MacBook Pro first generation */
>  			spec->board_config = STAC_MACBOOK_PRO_V1;
>  			break;
> -- 
> 1.4.4.2
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@...a-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ