From: Takashi Iwai Subject: Re: [PATCH] ALSA: Add initial support for Thinkpad T410s HDA codec. Date: Thu, 15 Apr 2010 09:14:00 +0200 Message-ID: References: <20100414214204.GA15425@ranger.taprogge.wh> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 75726103814 for ; Thu, 15 Apr 2010 09:14:01 +0200 (CEST) In-Reply-To: <20100414214204.GA15425@ranger.taprogge.wh> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jens Taprogge Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org At Wed, 14 Apr 2010 23:42:04 +0200, Jens Taprogge wrote: > > Dear ALSA Maintainers, > > attached please find a patch that adds support for at least the T410s > HDA codec. Most likely it will also add support for the T410 and T510 > based models. > > > The patch was derived from Ideapad support. Support for the laptop's and > docking-station output connectors as well as the docking-station microphone > connector and the laptops internal devices has been tested. Since it has been > developed without a data-sheet available, support for digital outputs and the > laptop's microphone input may well be incorrect. > > Microphone mute functionality is not included: > The microphone mute button seems to be reported through thinkpad_acpi key > 0000101b. The mute button LED seems to be wired to thinkpad_acpi led > number 15. > > Please apply. > > Signed-off-by: Jens Taprogge Thanks, applied now. Just one fix I made in addition: > @@ -2292,7 +2355,7 @@ static void cxt5066_set_mic_boost(struct hda_codec *codec) > AC_VERB_SET_AMP_GAIN_MUTE, > AC_AMP_SET_RIGHT | AC_AMP_SET_LEFT | AC_AMP_SET_OUTPUT | > cxt5066_analog_mic_boost.items[spec->mic_boost].index); > - if (spec->ideapad) { > + if (spec->ideapad | spec->thinkpad) { This should be a logical OR. Takashi