From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751312AbdAQNuX (ORCPT ); Tue, 17 Jan 2017 08:50:23 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:46518 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbdAQNuV (ORCPT ); Tue, 17 Jan 2017 08:50:21 -0500 Subject: Re: Nokia N900: mixers changed between 4.9 and 4.10-rc3, no longer can use in-call speaker To: Jarkko Nikula , Pavel Machek , =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <20170112181826.GA28290@amd> <201701121934.19810@pali> <20170114225614.GA25321@amd> <201701150100.54214@pali> <20170115100533.GA15816@amd> <40dbce4e-d99d-d77d-e682-5b004c70ca40@bitmer.com> CC: , kernel list , linux-arm-kernel , , , , , , , , , , , , From: Peter Ujfalusi Message-ID: Date: Tue, 17 Jan 2017 15:47:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <40dbce4e-d99d-d77d-e682-5b004c70ca40@bitmer.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/15/2017 09:08 PM, Jarkko Nikula wrote: > On 01/15/2017 12:05 PM, Pavel Machek wrote: >>>> So regression seems to be between v4.9 and v4.10. Any ideas? >>> >>> Interesting... seems there are no sound relevant changes after v4.9. >>> >>> Looks like there are only three commits after v4.9 for sound/soc which >>> are built for Nokia N900: >>> >>> e411b0b5eb9b65257a050eac333d181d6e00e2c6 >>> e7aa450fe17890e59db7d3c2d8eff5b6b41fc531 >>> 63c3194b82530bd71fd49db84eb7ab656b8d404a >>> >>> Maybe something not related to sound/soc could broke it? >> >> Lets see. >> >> a9042defa29a01cc538b742eab047848e9b5ae14 -- works ok. >> ce38207f161513ee3d2bd3860489f07ebe65bc78 -- >> >> alsactl: set_control:1328: failed to obtain info for control #229 (No >> such file or directory) >> > I'm unable to test older kernels at the moment since modules don't load > by some reason (bluetooth: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err > 0)). Probably some recent regression in my debian/testing installation > since the same configs were working before. > > However v4.9.4 works and with it I can see there is an issue with these > aic3x controls: > > amixer: Unable to find simple control 'Left DAC_L1 Mixer Line',0 > > > > amixer: Unable to find simple control 'Right DAC_R1 Mixer Line',0 These are certainly not the regression between 4.6 and 4.9, more like more like regression since 2.6: 'Line Switch' -> 'LineL Switch': 54f01916297bafc18bd7df4e2300a0544a84fce3 'LineL Switch' -> 'DACL1 Switch': c3b79e05b4d9ab2e7c3ba281261ea87ab5b71a92 > At quick look I don't see why above commits could cause it. Maybe > regression happened earlier between v4.6 and v4.9? It might be that there were some work to fix control names for different aic versions to match with the HW or support for new codec is added and some control gone missing for 3x? I would compare the 'amixer controls' for the working and regressed kernel to see what differs. From there git blame or smthing will for sure point to the correct commit. -- Péter