Re: [PATCH] hda: Correct SPDIF out default config

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

 



At Fri, 11 Apr 2008 16:16:08 -0400,
Matthew Ranostay wrote:
> 
> Several laptops have have the SPDIF out defined as 'Digital other out'
> when it should be 'SPDIF out' in the default config.
> 
> Signed-off-by: Matthew Ranostay <mranostay@xxxxxxxxxxxxxxxxx>

Hmm, we really need to hurry to add the support of dynamic
configuration...  Hopefully merged before 2.6.27...

Anyway, applied this patch to ALSA tree now.  Thanks.


Takashi

> ---
> diff -r 0dd2b6cb1506 pci/hda/patch_sigmatel.c
> --- a/pci/hda/patch_sigmatel.c	Wed Apr 09 08:16:33 2008 +0200
> +++ b/pci/hda/patch_sigmatel.c	Fri Apr 11 16:02:57 2008 -0400
> @@ -3778,6 +3778,13 @@ static int patch_stac927x(struct hda_cod
>  		spec->mixer = stac927x_mixer;
>  		break;
>  	case STAC_DELL_BIOS:
> +		switch (codec->subsystem_id) {
> +		case 0x10280209:
> +		case 0x1028022e:
> +			/* correct the device field to SPDIF out */
> +			stac92xx_set_config_reg(codec, 0x21, 0x01442070);
> +			break;
> +		};
>  		/* configure the analog microphone on some laptops */
>  		stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
>  		/* correct the front output jack as a hp out */
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/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