All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Ranostay <mranostay@embeddedalley.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] hda: Add STAC_DELL_M4_3 quirk
Date: Thu, 20 Nov 2008 21:02:04 -0500	[thread overview]
Message-ID: <4926169C.1080709@embeddedalley.com> (raw)
In-Reply-To: <s5hk5ax2745.wl%tiwai@suse.de>

Takashi Iwai wrote:
> At Thu, 20 Nov 2008 20:31:16 -0500,
> Matthew Ranostay wrote:
>> Takashi Iwai wrote:
>>> At Wed, 19 Nov 2008 21:48:51 -0500,
>>> Matthew Ranostay wrote:
>>>> Add PCI quirk STAC_DELL_M4_3 for 92hd71bxx based laptops.
>>> Which laptops, more exactly?  Recently I received bug reports about
>>> Dell Studio laptops, and wondering whether it's for such models.
>>>
>>>
>>>> @@ -4650,14 +4661,20 @@ again:
>>>>
>>>>  	switch (spec->board_config) {
>>>>  	case STAC_HP_M4:
>>>> -		spec->num_dmics = 0;
>>>> -		spec->num_smuxes = 0;
>>>> -		spec->num_dmuxes = 0;
>>>> -
>>>>  		/* enable internal microphone */
>>>>  		stac92xx_set_config_reg(codec, 0x0e, 0x01813040);
>>>>  		stac92xx_auto_set_pinctl(codec, 0x0e,
>>>>  			AC_PINCTL_IN_EN | AC_PINCTL_VREF_80);
>>> Please add a comment about fall-through here.
>>>
>>> Also, update Documentation/*/ALSA-Configuration.txt as well.
>>>
>>>
>>> thanks,
>>>
>>> Takashi
>>>
>> Add PCI quirk STAC_DELL_M4_3 for 92hd71bxx based laptops and desktops.
>>
>> Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
> 
> Thanks.  Now another questions about the patch.
> 
>> @@ -4650,14 +4661,21 @@ again:
>>
>>  	switch (spec->board_config) {
>>  	case STAC_HP_M4:
>> -		spec->num_dmics = 0;
>> -		spec->num_smuxes = 0;
>> -		spec->num_dmuxes = 0;
>> -
> 
> Any reason to remove these....
> 
Because it falls through below.

>>  		/* enable internal microphone */
>>  		stac92xx_set_config_reg(codec, 0x0e, 0x01813040);
>>  		stac92xx_auto_set_pinctl(codec, 0x0e,
>>  			AC_PINCTL_IN_EN | AC_PINCTL_VREF_80);
>> +		/* fallthru */
>> +	case STAC_DELL_M4_2:
>> +		spec->num_dmics = 0;
>> +		spec->num_smuxes = 0;
>> +		spec->num_dmuxes = 0;
>> +		break;
>> +	case STAC_DELL_M4_1:
>> +	case STAC_DELL_M4_3:
>> +		spec->num_dmics = 1;
>> +		spec->num_smuxes = 0;
>> +		spec->num_dmuxes = 0;
> 
> ... and adding these?
> 
> That is, the patch introduces more changes than its description.
> If you change or fix the behavior of other models, please split, or
> at least give a proper changelog.
> 
> 
I'll give a more descriptive changelog.

> thanks,
> 
> Takashi
> 

      reply	other threads:[~2008-11-21  2:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20  2:48 [PATCH] hda: Add STAC_DELL_M4_3 quirk Matthew Ranostay
2008-11-20  7:16 ` Takashi Iwai
2008-11-21  1:31   ` Matthew Ranostay
2008-11-21  1:35     ` Takashi Iwai
2008-11-21  2:02       ` Matthew Ranostay [this message]

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=4926169C.1080709@embeddedalley.com \
    --to=mranostay@embeddedalley.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.