From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Austin Subject: Re: [PATCH 01/15] ASoC: CS42L51 and WM8962 codecs depend on INPUT Date: Tue, 29 Apr 2014 21:31:30 -0500 Message-ID: References: <1398770316-19715-1-git-send-email-kaixu.xia@linaro.org> <1398770316-19715-2-git-send-email-kaixu.xia@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398770316-19715-2-git-send-email-kaixu.xia@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Xia Kaixu Cc: alsa-devel@alsa-project.org, linaro-kernel@lists.linaro.org, arnd@arndb.de, Sangbeom Kim , Mark Brown , linux-kernel@vger.kernel.org, Timur Tabi , linux-samsung-soc@vger.kernel.org, Lars-Peter Clausen , Ben Dooks , linux-input@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org, Liam Girdwood List-Id: linux-input@vger.kernel.org On Tue, 29 Apr 2014, Xia Kaixu wrote: > From: Arnd Bergmann > > Building ARM randconfig got into a situation where CONFIG_INPUT > is turned off and SND_SOC_ALL_CODECS is turned on, which failed > for two codecs trying to use the input subsystem. Some other > drivers also select one of these codecs and consequently need an > explicit dependency added. I assume you mean the CS42L52 instead of the L51. INPUT is used for a BEEP Generator but when I disable CONFIG_INPUT I do not get an error. Is there any information available on what the error is? > > Appending to the dependency list seems the easiest way out, > since this is not a practical limitation. If anyone really > needs to build these codecs for a kernel with no input support, > a more sophisticated solution can be implemented. > It shouldn't build the BEEP code without CONFIG_INPUT enabled as you can use the CODEC without the BEEP enabled. I believe the WM8962 is done the same way. Thanks, Brian