From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9AB8DC433F5 for ; Fri, 10 Dec 2021 17:34:27 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D3C1618E2; Fri, 10 Dec 2021 18:33:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D3C1618E2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1639157664; bh=c5XZKzQpM3T4K/Gncs8Msjc1I4BAyaown97XLRP6Eyk=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=OpIE5F2fx/MqZGDcqTELvaq3QuPty/YOKzmlS6DpI6EmKyJN+hGZPdLqH0NYyST2V 2u2qUEX7RoUe22Qx3q8+/NpuOAY+EbGdKCKSdcOIAI5w8noNoFuy9Yoy03aJAbxRzJ nTI2u5ojT7rjseYKqp7hzSTp0SIe/3bfcQQRP4vg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 409CDF804E6; Fri, 10 Dec 2021 18:33:34 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AF647F804EC; Fri, 10 Dec 2021 18:33:31 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F266FF804E5 for ; Fri, 10 Dec 2021 18:33:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F266FF804E5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="egBEXBop" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639157607; x=1670693607; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=c5XZKzQpM3T4K/Gncs8Msjc1I4BAyaown97XLRP6Eyk=; b=egBEXBopm4MYeNuQyz/9ezZUOM3v/UVYMUcX6Dnxf5+VG24cFrodUyCH FotOAoSyAEdnnOL6zbYNyKhQcqHTbljTW6/F1nlHQS5FebeUEAD7zgJD0 MXQh3V4ysx5avJOT3NFGCyRL7eiJInZNPVTtSUE0BaLyUpF0hVQbv26AN jI0ZiI7hRTUAK+mV0wKBZxNoAQKe4uJaeIsy8S8oFJ31a3Bqh2/iqmGgh b2OcJdOoTT86yRHlP1GOEuv2bknylFpkSzOP7O2Rhf4DlUF1vacEZhHWp XEK1atyBLh4EJF/P/6tcRG+7dDpvQhQnKuTtlbXhH0eW0HnMo9UYZKBSt A==; X-IronPort-AV: E=McAfee;i="6200,9189,10194"; a="299181518" X-IronPort-AV: E=Sophos;i="5.88,196,1635231600"; d="scan'208";a="299181518" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2021 09:33:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,196,1635231600"; d="scan'208";a="753241002" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 10 Dec 2021 09:33:13 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mvjlg-0003Rl-Ce; Fri, 10 Dec 2021 17:33:12 +0000 Date: Sat, 11 Dec 2021 01:32:34 +0800 From: kernel test robot To: Shumin Chen , perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org Subject: Re: [PATCH 1/2] ASoC: add ES8156 codec driver Message-ID: <202112110101.i4FDNZ9c-lkp@intel.com> References: <20211210151041.108751-2-chenshumin86@sina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211210151041.108751-2-chenshumin86@sina.com> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: alsa-devel@alsa-project.org, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Shumin Chen X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi Shumin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on v5.16-rc4 next-20211208] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shumin-Chen/This-patches-provide-ASoc-codec-support-for-ES8156/20211210-231527 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-buildonly-randconfig-r003-20211210 (https://download.01.org/0day-ci/archive/20211211/202112110101.i4FDNZ9c-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/4ea33be548d361d7097073473fb018e016091622 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shumin-Chen/This-patches-provide-ASoc-codec-support-for-ES8156/20211210-231527 git checkout 4ea33be548d361d7097073473fb018e016091622 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/es8156.c:402:5: warning: no previous prototype for 'es8156_headset_detect' [-Wmissing-prototypes] 402 | int es8156_headset_detect(int jack_insert) | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/es8156.c:421:13: warning: 'hp_work' defined but not used [-Wunused-function] 421 | static void hp_work(struct work_struct *work) | ^~~~~~~ sound/soc/codecs/es8156.c:386:20: warning: 'es8156_irq_handler' defined but not used [-Wunused-function] 386 | static irqreturn_t es8156_irq_handler(int irq, void *data) | ^~~~~~~~~~~~~~~~~~ vim +/es8156_headset_detect +402 sound/soc/codecs/es8156.c 395 396 /* 397 * Call from rk_headset_irq_hook_adc.c 398 * 399 * Enable micbias for HOOK detection and disable external Amplifier 400 * when jack insertion. 401 */ > 402 int es8156_headset_detect(int jack_insert) 403 { 404 struct es8156_priv *es8156; 405 406 if (!es8156_codec) 407 return -1; 408 409 es8156 = snd_soc_component_get_drvdata(es8156_codec); 410 411 es8156->hp_inserted = jack_insert; 412 413 /* enable micbias and disable PA */ 414 if (jack_insert) 415 es8156_enable_spk(es8156, false); 416 417 return 0; 418 } 419 EXPORT_SYMBOL(es8156_headset_detect); 420 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2464931902755368368==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 1/2] ASoC: add ES8156 codec driver Date: Sat, 11 Dec 2021 01:32:34 +0800 Message-ID: <202112110101.i4FDNZ9c-lkp@intel.com> In-Reply-To: <20211210151041.108751-2-chenshumin86@sina.com> List-Id: --===============2464931902755368368== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Shumin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on v5.16-rc4 next-20211208] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shumin-Chen/This-patches-p= rovide-ASoc-codec-support-for-ES8156/20211210-231527 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git f= or-next config: x86_64-buildonly-randconfig-r003-20211210 (https://download.01.org/= 0day-ci/archive/20211211/202112110101.i4FDNZ9c-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/4ea33be548d361d7097073473= fb018e016091622 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shumin-Chen/This-patches-provide-A= Soc-codec-support-for-ES8156/20211210-231527 git checkout 4ea33be548d361d7097073473fb018e016091622 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash sound/soc/= codecs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/es8156.c:402:5: warning: no previous prototype for 'es8= 156_headset_detect' [-Wmissing-prototypes] 402 | int es8156_headset_detect(int jack_insert) | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/es8156.c:421:13: warning: 'hp_work' defined but not use= d [-Wunused-function] 421 | static void hp_work(struct work_struct *work) | ^~~~~~~ sound/soc/codecs/es8156.c:386:20: warning: 'es8156_irq_handler' defined = but not used [-Wunused-function] 386 | static irqreturn_t es8156_irq_handler(int irq, void *data) | ^~~~~~~~~~~~~~~~~~ vim +/es8156_headset_detect +402 sound/soc/codecs/es8156.c 395 = 396 /* 397 * Call from rk_headset_irq_hook_adc.c 398 * 399 * Enable micbias for HOOK detection and disable external Amplifier 400 * when jack insertion. 401 */ > 402 int es8156_headset_detect(int jack_insert) 403 { 404 struct es8156_priv *es8156; 405 = 406 if (!es8156_codec) 407 return -1; 408 = 409 es8156 =3D snd_soc_component_get_drvdata(es8156_codec); 410 = 411 es8156->hp_inserted =3D jack_insert; 412 = 413 /* enable micbias and disable PA */ 414 if (jack_insert) 415 es8156_enable_spk(es8156, false); 416 = 417 return 0; 418 } 419 EXPORT_SYMBOL(es8156_headset_detect); 420 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2464931902755368368==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6FA4C433FE for ; Fri, 10 Dec 2021 17:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244655AbhLJRh3 (ORCPT ); Fri, 10 Dec 2021 12:37:29 -0500 Received: from mga02.intel.com ([134.134.136.20]:55928 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244460AbhLJRhS (ORCPT ); Fri, 10 Dec 2021 12:37:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639157622; x=1670693622; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=c5XZKzQpM3T4K/Gncs8Msjc1I4BAyaown97XLRP6Eyk=; b=eMeY0eNgwXW4MvBUDQJAdFXXY9DWLC1M92xf6ADBPlRXf1+Aa2/LqqDb tTENBr5y/dh53oTs04sLFIcQN1Be6wJCdJp0tAwMW3tGi/ZZ12yBA884J P7UYbJKVXSBim5v4c4Dp1e2TtdbM+w/noZiy7Igtb/hwZYY7EEl8sX1Or G08dXOjhHev1Xx2KVG+b1ep9rJ2bpOfoCzMv2b0M1hiZLfPc4slQHZLCP ZvL4CxW2zHz0u5MX2fE3O0tHFIN12gyzeOel9HK7wsuFCEzZrhshjd85o WLxZeurHn8UWickEFMAKDh9GCfEbpCUQQ3WTG+xQeZEqAyp2K3bAG6ZhH w==; X-IronPort-AV: E=McAfee;i="6200,9189,10194"; a="225667679" X-IronPort-AV: E=Sophos;i="5.88,196,1635231600"; d="scan'208";a="225667679" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2021 09:33:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,196,1635231600"; d="scan'208";a="753241002" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 10 Dec 2021 09:33:13 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mvjlg-0003Rl-Ce; Fri, 10 Dec 2021 17:33:12 +0000 Date: Sat, 11 Dec 2021 01:32:34 +0800 From: kernel test robot To: Shumin Chen , perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org Cc: kbuild-all@lists.01.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Shumin Chen Subject: Re: [PATCH 1/2] ASoC: add ES8156 codec driver Message-ID: <202112110101.i4FDNZ9c-lkp@intel.com> References: <20211210151041.108751-2-chenshumin86@sina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211210151041.108751-2-chenshumin86@sina.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shumin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on broonie-sound/for-next] [also build test WARNING on v5.16-rc4 next-20211208] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Shumin-Chen/This-patches-provide-ASoc-codec-support-for-ES8156/20211210-231527 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-buildonly-randconfig-r003-20211210 (https://download.01.org/0day-ci/archive/20211211/202112110101.i4FDNZ9c-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/4ea33be548d361d7097073473fb018e016091622 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shumin-Chen/This-patches-provide-ASoc-codec-support-for-ES8156/20211210-231527 git checkout 4ea33be548d361d7097073473fb018e016091622 # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> sound/soc/codecs/es8156.c:402:5: warning: no previous prototype for 'es8156_headset_detect' [-Wmissing-prototypes] 402 | int es8156_headset_detect(int jack_insert) | ^~~~~~~~~~~~~~~~~~~~~ sound/soc/codecs/es8156.c:421:13: warning: 'hp_work' defined but not used [-Wunused-function] 421 | static void hp_work(struct work_struct *work) | ^~~~~~~ sound/soc/codecs/es8156.c:386:20: warning: 'es8156_irq_handler' defined but not used [-Wunused-function] 386 | static irqreturn_t es8156_irq_handler(int irq, void *data) | ^~~~~~~~~~~~~~~~~~ vim +/es8156_headset_detect +402 sound/soc/codecs/es8156.c 395 396 /* 397 * Call from rk_headset_irq_hook_adc.c 398 * 399 * Enable micbias for HOOK detection and disable external Amplifier 400 * when jack insertion. 401 */ > 402 int es8156_headset_detect(int jack_insert) 403 { 404 struct es8156_priv *es8156; 405 406 if (!es8156_codec) 407 return -1; 408 409 es8156 = snd_soc_component_get_drvdata(es8156_codec); 410 411 es8156->hp_inserted = jack_insert; 412 413 /* enable micbias and disable PA */ 414 if (jack_insert) 415 es8156_enable_spk(es8156, false); 416 417 return 0; 418 } 419 EXPORT_SYMBOL(es8156_headset_detect); 420 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org