Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757260AbXEIK7J (ORCPT ); Wed, 9 May 2007 06:59:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754856AbXEIK64 (ORCPT ); Wed, 9 May 2007 06:58:56 -0400 Received: from nz-out-0506.google.com ([64.233.162.231]:23124 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751559AbXEIK6z (ORCPT ); Wed, 9 May 2007 06:58:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sSpvL8zulO5UhPHpX6CULSJKqSMTCfYnZACMDnLF2FwRsYNb7Ut9riFA7FUmTKIB/zCPn4mVz7PgRQy+8zI6QPoUqJnb9VdF3c+55ghHNHnilv8vhYFN+XhXD4vpbw1fx+3gxbLrm+f05XDfiOPWPtd1ZXeW9czTo8DgSdOg3gs= Message-ID: <8d6898730705090358g104d9a9fjd4ad2697c44ec39b@mail.gmail.com> Date: Wed, 9 May 2007 16:28:24 +0530 From: "Nobin Mathew" To: linux-kernel@vger.kernel.org Subject: Fwd: [ASoC] Mic record is not working with wm9713 ASoC driver In-Reply-To: <8d6898730705090355v6966309av6aff6c1e93c5a876@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_141969_27538895.1178708304337" References: <8d6898730705090218h4ba10102u917b0943bad97a8b@mail.gmail.com> <1178706334.3740.24.camel@a10072.wolfsonmicro.main> <8d6898730705090344ofc820d9r96cb4723722027be@mail.gmail.com> <1178707947.3740.30.camel@a10072.wolfsonmicro.main> <8d6898730705090355v6966309av6aff6c1e93c5a876@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9788 Lines: 163 ------=_Part_141969_27538895.1178708304337 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline ---------- Forwarded message ---------- From: Nobin Mathew Date: May 9, 2007 4:25 PM Subject: Re: [ASoC] Mic record is not working with wm9713 ASoC driver To: Liam Girdwood Liam i got the mail. I am not setting any audio paths in my machine driver On 5/9/07, Liam Girdwood wrote: > The mail server is probably a little behind..... give it about 30 > mins... > > Liam > > On Wed, 2007-05-09 at 16:14 +0530, Nobin Mathew wrote: > > Liam Sorry for disturbing you again, > > > > I could not find that reply on alsa devel mailing list > > > > Can u send that to me > > > > Thanks > > > > > > On 5/9/07, Liam Girdwood wrote: > > > On Wed, 2007-05-09 at 14:48 +0530, Nobin Mathew wrote: > > > > I am trying to record mic with AsoC wm9713 driver. My Mic is connected "Mic 1". > > > > > > I've replied to this duplicate post on alsa-dev. > > > > > > Liam > > > > > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > > ------=_Part_141969_27538895.1178708304337 Content-Type: text/x-csrc; name=identity_wm9713.c; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_f1hog9vw Content-Disposition: attachment; filename="identity_wm9713.c" LyoKICogIFNpUkYgVGVjaG5vbG9neSwgSW5jLiBHUFMgU29mdHdhcmUgCiAqCiAqICBDb3B5cmln aHQgKEMpIDIwMDYgYnkgU2lSRiBUZWNobm9sb2d5LCBJbmMuIEFsbCByaWdodHMgcmVzZXJ2ZWQu CiAqCiAqICBsaW51eC9zb3VuZC9zb2Mvc2lyZjNhL2lkZW50aXR5X3dtOTcxMy5jCiAqICAKICog VGhpcyBwcm9ncmFtIGlzIGZyZWUgc29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFu ZC9vciBtb2RpZnkKICogaXQgdW5kZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJs aWMgTGljZW5zZ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GV2aWNlOwoKc3RhdGljIGludCBfX2luaXQgaWRlbnRpdHlfd205 NzEzX2luaXQodm9pZCkKewoJaW50IHJldDsKCglkZXZpY2VfaW5pdGlhbGl6ZSgmcGlkZW50aXR5 X3dtOTcxM19zbmRfZGV2aWNlLT5kZXYpOwoJcGxhdGZvcm1fc2V0X2RydmRhdGEocGlkZW50aXR5 X3dtOTcxM19zbmRfZGV2aWNlLCAmaWRlbnRpdHlfd205NzEzX3NuZF9kZXZkYXRhKTsKCWlkZW50 aXR5X3dtOTcxM19zbmRfZGV2ZGF0YS5kZXYgPSAmcGlkZW50aXR5X3dtOTcxM19zbmRfZGV2aWNl LT5kZXY7CglyZXQgPSBwbGF0Zm9ybV9kZXZpY2VfYWRkKHBpZGVudGl0eV93bTk3MTNfc25kX2Rl dmljZSk7CgoJaWYgKHJldCkKCQlwbGF0Zm9ybV9kZXZpY2VfcHV0KHBpZGVudGl0eV93bTk3MTNf c25kX2RldmljZSk7CgoJcmV0dXJuIHJldDsKfQoKc3RhdGljIHZvaWQgX19leGl0IGlkZW50aXR5 X3dtOTcxM19leGl0KHZvaWQpCnsKCXBsYXRmb3JtX2RldmljZV91bnJlZ2lzdGVyKHBpZGVudGl0 eV93bTk3MTNfc25kX2RldmljZSk7Cn0KCm1vZHVsZV9pbml0KGlkZW50aXR5X3dtOTcxM19pbml0 KTsKbW9kdWxlX2V4aXQoaWRlbnRpdHlfd205NzEzX2V4aXQpOwoKLyogTW9kdWxlIGluZm9ybWF0 aW9uICovCk1PRFVMRV9BVVRIT1IoIk5vYmluIE1hdGhldyIpOwpNT0RVTEVfREVTQ1JJUFRJT04o IkFMU0EgU29DIFNpUkYzQSIpOwpNT0RVTEVfTElDRU5TRSgiR1BMIik7Cg== ------=_Part_141969_27538895.1178708304337-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/