Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CF2FDE00C5D; Wed, 6 Apr 2016 06:10:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [5.255.227.111 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Greylist: delayed 92 seconds by postgrey-1.32 at yocto-www; Wed, 06 Apr 2016 06:10:19 PDT Received: from forward10j.cmail.yandex.net (forward10j.cmail.yandex.net [5.255.227.111]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 80A32E00C43 for ; Wed, 6 Apr 2016 06:10:19 -0700 (PDT) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [IPv6:2a02:6b8:0:801:1::10]) by forward10j.cmail.yandex.net (Yandex) with ESMTP id 7B1C221686 for ; Wed, 6 Apr 2016 16:08:45 +0300 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 4BDE17E02F1 for ; Wed, 6 Apr 2016 16:08:45 +0300 (MSK) Received: by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id RaTaZfhFi4-8i6aPC9A; Wed, 06 Apr 2016 16:08:44 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoscan.aero; s=mail; t=1459948124; bh=plMiDZHJQSY5PTIe5+r2p52FB7PTgAF1kXfMs/kQIVo=; h=To:From:Subject:Organization:Message-ID:Date:User-Agent: MIME-Version:Content-Type:Content-Transfer-Encoding; b=nPUAyP2sOOI0Jf4fvS1ljr4ig5I04yEKCIOeTzFxN58a8i7YGezdblLUKbuq44Mrf PaVsKDCHhWxiL5lDWV8Lnxh/JD6P2CeL4jPghudSMD+rrwhJ/gJGSUveX9vf1zMTVi z2gwMTxCSDE7tPx4jooCOZt+tgz2h0iuIMWnIz6s= Authentication-Results: smtp11.mail.yandex.net; dkim=pass header.i=@geoscan.aero X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0 To: meta-freescale@yoctoproject.org From: Ivan Nikolaenko Organization: GeoScan Message-ID: <57050A5C.4020602@geoscan.aero> Date: Wed, 6 Apr 2016 16:08:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 06 Apr 2016 07:05:37 -0700 Subject: imx-wm8960 audio codec platform driver and ALSA widgets problem X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2016 13:10:22 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Dear all! I have a problem with audio in the Jethro release. Previously on my device (based on the i.MX6q SabreSD) I used Fido release with 3.10.53 kernel for which I wrote the imx-wm8960 platform driver. But now there was a need to upgrade to a new kernel 3.14.52 and, respectively, Jethro. Unfortunately, driver imx-wm8960 from the 3.14.52 kernel does not work for me, displaying error at the end of the boot: [ 10.716343] ASoC: HiFi startup failed: -16. It also shows error "device or resource busy" when I try to play sound with the "aplay". "dmesg" says: [ 3.637073] imx-wm8960 sound.28: wm8960-hifi <-> 2028000.ssi mapping ok and [ 3.749988] ALSA device list: [ 3.752976] #0: wm8960-audio After a short research I found that if i comment lines in the imx-wm8960.c like this: static struct snd_soc_ops imx_hifi_ops = { .hw_params = imx_hifi_hw_params, // .hw_free = imx_hifi_hw_free, // .startup = imx_hifi_startup, // .shutdown = imx_hifi_shutdown, }; , errors disappear, but I can still hear the silence. I also found that there is only one widget Master in the "alsamixer". the output from "amixer" confirms that. Please help me with this problem. Thank you. -- Best regards, Ivan Nikolaenko, GeoScan i.nikolaenko@geoscan.aero