All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hui Wang <hui.wang@canonical.com>
To: David Henningsson <david.henningsson@canonical.com>
Cc: tiwai@suse.de, hui.wang@canonical.com,
	alsa-devel@alsa-project.org, yk@canonical.com,
	alex.hung@canonical.com
Subject: Re: [PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec
Date: Wed, 27 Nov 2013 14:21:51 +0800	[thread overview]
Message-ID: <52958F7F.5010504@canonical.com> (raw)
In-Reply-To: <5295805C.8060104@canonical.com>

On 11/27/2013 01:17 PM, David Henningsson wrote:
> On 11/27/2013 04:26 AM, Hui Wang wrote:
>> Most Thinkpad Edge series laptops use conexant codec, so far although
>> the codecs have different minor Vendor Id and minor Subsystem Id, but
>> they all belong to the cxt_5066 family, this change can make the
>> mute/mic-mute LEDs support more generic among cxt_5066 family.
> Hi Hui and thanks for your patch!
>
> It's also nice that you have tested the patch on several machines and
> found it to be working.
>
> As for the actual implementation - as the rest of the thinkpad-acpi code
> is copy-pasted between patch_realtek and patch_conexant, I think this
> would also apply here, i e, no code in hda_local.h, instead copy from
> patch_realtek to patch_conexant as necessary.
>
> While copy-pasting code is not the most elegant of solutions, I got the
> impression from Takashi that he preferred that for now.
OK, got it, I will send a V2 patch according to your suggestion.

Regards,
Hui.
>> Cc: Alex Hung <alex.hung@canonical.com>
>> Cc: David Henningsson <david.henningsson@canonical.com>
>> Signed-off-by: Hui Wang <hui.wang@canonical.com>
>> ---
>>   sound/pci/hda/hda_local.h      | 22 ++++++++++++++++++++++
>>   sound/pci/hda/patch_conexant.c |  3 +++
>>   sound/pci/hda/patch_realtek.c  | 20 --------------------
>>   3 files changed, 25 insertions(+), 20 deletions(-)
>>

  reply	other threads:[~2013-11-27  6:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27  3:26 [PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec Hui Wang
2013-11-27  5:17 ` David Henningsson
2013-11-27  6:21   ` Hui Wang [this message]
2013-11-27  6:44   ` Takashi Iwai
2013-11-27  7:11     ` Hui Wang
2013-11-27  7:23       ` Takashi Iwai
2013-11-27  7:39         ` Hui Wang
2013-11-27  7:55           ` 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=52958F7F.5010504@canonical.com \
    --to=hui.wang@canonical.com \
    --cc=alex.hung@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=david.henningsson@canonical.com \
    --cc=tiwai@suse.de \
    --cc=yk@canonical.com \
    /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.