Message ID | 20231008135601.542356-1-jmkrzyszt@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1378327vqo; Sun, 8 Oct 2023 06:56:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzpGmSYDfuYkBPyQ5N9Njxbt1srxSaA+FM3x824A4vYwFZFLI7PSt2IOlHZcmp0cOf3GF6 X-Received: by 2002:a17:902:d481:b0:1c8:7d21:fc50 with SMTP id c1-20020a170902d48100b001c87d21fc50mr12336246plg.56.1696773417725; Sun, 08 Oct 2023 06:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696773417; cv=none; d=google.com; s=arc-20160816; b=r8l7tEUb5TT91NVYBE4MeQAAlKXbzpZek3WSjVpt2Md44nGGI8BMoHS03mS61uQVR+ On0jlq73RbqjyvnpMtRRkxNZ21m/i+ZbTsM+QCf9Vx8zunA99INxyUKLvLMsJxg6FYrW +nUJAcNn+Giq9SbasJLmDhNXTLdOWhXfl67MMpO+aDfdyOjQSXlWCG4IfSVguZh54LPG JLn4t5xVbF0NaBn+4qQBJX2tMTFZ1xT57OhyycgvWTbQFLkRwKMBMo+BCtlOaxTlxlgB zCjkpt2rD9CRn4jDVSv9AOSxFa5dQMcxKpPIOG2fePX0JJtDaiwJpk/ngwstx0f0RRiX Db7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9nZ3UEZX/H5fd+AnU4563AsWAEhqsNM6T83YJUnEb/g=; fh=rIbPQQAn/TqEfekKBEys29aaxNQPL9ZB6CeEKj5ptJU=; b=y45c89FrO8IWznKJAs2QnpXE6MxfL8aUdqv19x9iMSAjgR3lxHNehNXwkDFwv4wvE8 wlucrufWIuz5TuOlltnaeqMrfrWdjI31qVYI9jt7WAE+5WpBC1xz0xbJJYJX2FM/2Rso euKRwD34CUma145Lk9lQixd2c6YeocE3lNL9uPmFzpb0AjzoYTPNz/Jzn5USELUYTPqY 159jheR+U/8ER3lQSSIgIHti65c/gqPMwa5KDGjf7Dfs6G4+7oe83jeYkrkVR6KyayRL onV1DK7YzuezM7BqKvqkt2tIRKCUq5mxJkjp4gwHOrk0UniJi9tKtxkwTo7uUU/5mbPU s7JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=APjUPt80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r17-20020a170902c61100b001c5fd2a242asi7330584plr.363.2023.10.08.06.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 06:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=APjUPt80; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3AD1F80658E3; Sun, 8 Oct 2023 06:56:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344828AbjJHN4e (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Sun, 8 Oct 2023 09:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbjJHN4c (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 8 Oct 2023 09:56:32 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DD558F for <linux-kernel@vger.kernel.org>; Sun, 8 Oct 2023 06:56:31 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9b2cee40de8so806362666b.1 for <linux-kernel@vger.kernel.org>; Sun, 08 Oct 2023 06:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696773390; x=1697378190; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9nZ3UEZX/H5fd+AnU4563AsWAEhqsNM6T83YJUnEb/g=; b=APjUPt80kukyRaCmTqO7nIuG/x+j6GbTT2zuhH9njaMDntlRTT6YcD021S4UTphe5p Lg88h0En6XiLldnqsIC/PUZILndfu5WPZODvN+11tsTK2FX+PlhIvwfIqeC4TZYufOph P0lFf3KlCjDYYh9hsDM8+x+2/qV2OUy2PEsY5KCYs4ybfQiPpL/+FypeOr9GWpK8uurl 98qWVltyRAOLZccyJYtUL1PsMmeh1K0un2H5zGKHV1v0XR/O6qflWjHNAs/9XsfVTstK nEhJh6dW7EnVp57JNHv+u84XSJ2D4b3ciXEG7YNXg/vv2SOQFjiRU7dVEJFqz9jKtIoY KUHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696773390; x=1697378190; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9nZ3UEZX/H5fd+AnU4563AsWAEhqsNM6T83YJUnEb/g=; b=HsYEGy9vJVFhfGexywC3Tj5PyOPFbIF2pfexcqt9x6EUfhV3MVZ5Rcf36GXiBpMa0V aG9WkMxemLfPLe0eiEBW4oAVpMJ+4JLUFoMOSvRYfxYY9kicn5y++VW8YjLzFy2TSWHa zIccjtkc4LCqiB6wUZCxTFzwgbG8UJYehPOhXro+2nHil83xc60eRyGMB54hzxLt6igi 0jwXT80NzDBb8oEnNol+RYA+dZDX99rNb9j71XGmpuAI95fWSxLoR2qSSz0/MyFoy1re gEEy7QGeVhblMrNsZEo/DMWRV+TfjR8ed2Q+UmOrH19afyNGozpZmsqopEurxbDrcY1i f6KA== X-Gm-Message-State: AOJu0YzhAEKPNIFeH/wlUcRMuX8sigHD0IK94kGUa9rjYY0iIx0r67jK zJ1VX/0b79AvFEqJ+jdP9vI= X-Received: by 2002:a17:907:2d8c:b0:9ad:93c8:c483 with SMTP id gt12-20020a1709072d8c00b009ad93c8c483mr7845988ejc.2.1696773389834; Sun, 08 Oct 2023 06:56:29 -0700 (PDT) Received: from dell.intranet (77-255-201-154.dynamic.inetia.pl. [77.255.201.154]) by smtp.gmail.com with ESMTPSA id ci24-20020a170906c35800b00992ea405a79sm5513503ejb.166.2023.10.08.06.56.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 06:56:29 -0700 (PDT) From: Janusz Krzysztofik <jmkrzyszt@gmail.com> To: Peter Ujfalusi <peter.ujfalusi@gmail.com> Cc: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik <jmkrzyszt@gmail.com> Subject: [PATCH] ASoC: ti: ams-delta: Allow it to be test compiled Date: Sun, 8 Oct 2023 15:53:10 +0200 Message-ID: <20231008135601.542356-1-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 08 Oct 2023 06:56:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779195883227440292 X-GMAIL-MSGID: 1779195883227440292 |
Series |
ASoC: ti: ams-delta: Allow it to be test compiled
|
|
Commit Message
Janusz Krzysztofik
Oct. 8, 2023, 1:53 p.m. UTC
The driver is now built only when MACH_AMS_DELTA is selected, which
requires a very specific selection of ARCH settings. As a consequence, it
gets very little attention from build-bots, if not none.
Drop the driver dependency on <asm/mach-types.h>, no longer required since
conversion to snd_soc_register_card() and drop of machine_is_ams_delta().
With that in place, allow the driver to be built in any environment as
long as COMPILE_TEST is selected. Take care of not selecting
SND_SOC_OMAP_MCBSP if COMMON_CLK is not selected.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
---
sound/soc/ti/Kconfig | 5 +++--
sound/soc/ti/ams-delta.c | 2 --
2 files changed, 3 insertions(+), 4 deletions(-)
Comments
Hi Janusz,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on linus/master v6.6-rc4 next-20231006]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Janusz-Krzysztofik/ASoC-ti-ams-delta-Allow-it-to-be-test-compiled/20231008-215910
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20231008135601.542356-1-jmkrzyszt%40gmail.com
patch subject: [PATCH] ASoC: ti: ams-delta: Allow it to be test compiled
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231009/202310090122.Yp9JndiQ-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231009/202310090122.Yp9JndiQ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310090122.Yp9JndiQ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/ti/ams-delta.c:401:24: error: initialization of 'void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types]
401 | .receive_buf = cx81801_receive,
| ^~~~~~~~~~~~~~~
sound/soc/ti/ams-delta.c:401:24: note: (near initialization for 'cx81801_ops.receive_buf')
cc1: some warnings being treated as errors
vim +401 sound/soc/ti/ams-delta.c
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 393
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 394 static struct tty_ldisc_ops cx81801_ops = {
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 395 .name = "cx81801",
fbadf70a8053b3 sound/soc/ti/ams-delta.c Jiri Slaby 2021-05-05 396 .num = N_V253,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 397 .owner = THIS_MODULE,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 398 .open = cx81801_open,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 399 .close = cx81801_close,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 400 .hangup = cx81801_hangup,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 @401 .receive_buf = cx81801_receive,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 402 .write_wakeup = cx81801_wakeup,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 403 };
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 404
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 405
Hi Janusz,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on linus/master v6.6-rc4 next-20231006]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Janusz-Krzysztofik/ASoC-ti-ams-delta-Allow-it-to-be-test-compiled/20231008-215910
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20231008135601.542356-1-jmkrzyszt%40gmail.com
patch subject: [PATCH] ASoC: ti: ams-delta: Allow it to be test compiled
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231009/202310090325.xWWpQOHP-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231009/202310090325.xWWpQOHP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310090325.xWWpQOHP-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/ti/ams-delta.c:401:24: error: initialization of 'void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const unsigned char *, long unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types]
401 | .receive_buf = cx81801_receive,
| ^~~~~~~~~~~~~~~
sound/soc/ti/ams-delta.c:401:24: note: (near initialization for 'cx81801_ops.receive_buf')
cc1: some warnings being treated as errors
vim +401 sound/soc/ti/ams-delta.c
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 393
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 394 static struct tty_ldisc_ops cx81801_ops = {
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 395 .name = "cx81801",
fbadf70a8053b3 sound/soc/ti/ams-delta.c Jiri Slaby 2021-05-05 396 .num = N_V253,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 397 .owner = THIS_MODULE,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 398 .open = cx81801_open,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 399 .close = cx81801_close,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 400 .hangup = cx81801_hangup,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 @401 .receive_buf = cx81801_receive,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 402 .write_wakeup = cx81801_wakeup,
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 403 };
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 404
6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 405
Dnia niedziela, 8 października 2023 20:03:21 CEST kernel test robot pisze: > Hi Janusz, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on broonie-sound/for-next] > [also build test ERROR on linus/master v6.6-rc4 next-20231006] > [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#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Janusz-Krzysztofik/ASoC-ti-ams-delta-Allow-it-to-be-test-compiled/20231008-215910 > base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next > patch link: https://lore.kernel.org/r/20231008135601.542356-1-jmkrzyszt%40gmail.com > patch subject: [PATCH] ASoC: ti: ams-delta: Allow it to be test compiled > config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231009/202310090122.Yp9JndiQ-lkp@intel.com/config) > compiler: sh4-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231009/202310090122.Yp9JndiQ-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@intel.com> > | Closes: https://lore.kernel.org/oe-kbuild-all/202310090122.Yp9JndiQ-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> sound/soc/ti/ams-delta.c:401:24: error: initialization of 'void (*)(struct tty_struct *, const u8 *, const u8 *, size_t)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const unsigned char *, unsigned int)'} from incompatible pointer type 'void (*)(struct tty_struct *, const u8 *, const char *, int)' {aka 'void (*)(struct tty_struct *, const unsigned char *, const char *, int)'} [-Werror=incompatible-pointer-types] > 401 | .receive_buf = cx81801_receive, > | ^~~~~~~~~~~~~~~ > sound/soc/ti/ams-delta.c:401:24: note: (near initialization for 'cx81801_ops.receive_buf') > cc1: some warnings being treated as errors This is the error I reported and fixed in the recent "[PATCH] ASoC: ti: ams-delta: Fix cx81801_receive() argument types". This change just exhibits that error, still present in trees without that fix. Mark, if you are OK with this change, could you please give your ack, like you did for the fix? Greg, since you already added that fix to your tty-linux tree, commit b3fa3cf02e3c, could you please also take this patch? Thanks, Janusz > > > vim +401 sound/soc/ti/ams-delta.c > > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 393 > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 394 static struct tty_ldisc_ops cx81801_ops = { > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 395 .name = "cx81801", > fbadf70a8053b3 sound/soc/ti/ams-delta.c Jiri Slaby 2021-05-05 396 .num = N_V253, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 397 .owner = THIS_MODULE, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 398 .open = cx81801_open, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 399 .close = cx81801_close, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 400 .hangup = cx81801_hangup, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 @401 .receive_buf = cx81801_receive, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 402 .write_wakeup = cx81801_wakeup, > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 403 }; > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 404 > 6d7f68a1eab3d5 sound/soc/omap/ams-delta.c Janusz Krzysztofik 2009-07-29 405 > >
On Sun, Oct 08, 2023 at 03:53:10PM +0200, Janusz Krzysztofik wrote: > The driver is now built only when MACH_AMS_DELTA is selected, which > requires a very specific selection of ARCH settings. As a consequence, it > gets very little attention from build-bots, if not none. Acked-by: Mark Brown <broonie@kernel.org>
On Thursday, 19 October 2023 13:40:57 CEST Mark Brown wrote: > On Sun, Oct 08, 2023 at 03:53:10PM +0200, Janusz Krzysztofik wrote: > > The driver is now built only when MACH_AMS_DELTA is selected, which > > requires a very specific selection of ARCH settings. As a consequence, it > > gets very little attention from build-bots, if not none. > > Acked-by: Mark Brown <broonie@kernel.org> Hi Mark, Thanks for your Ack. Since the fix required for successful compilation of the ams-delta ASoC driver already reached v6.6, my former suggestion to pass this change also via Greg's tty tree is probably no longer vital. Thanks, Janusz
On Sun, 08 Oct 2023 15:53:10 +0200, Janusz Krzysztofik wrote: > The driver is now built only when MACH_AMS_DELTA is selected, which > requires a very specific selection of ARCH settings. As a consequence, it > gets very little attention from build-bots, if not none. > > Drop the driver dependency on <asm/mach-types.h>, no longer required since > conversion to snd_soc_register_card() and drop of machine_is_ams_delta(). > With that in place, allow the driver to be built in any environment as > long as COMPILE_TEST is selected. Take care of not selecting > SND_SOC_OMAP_MCBSP if COMMON_CLK is not selected. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: ti: ams-delta: Allow it to be test compiled commit: 7790bccd7bac3af28bf044e188215041eb142d56 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/ti/Kconfig b/sound/soc/ti/Kconfig index 593be22503b5..e22e41af3226 100644 --- a/sound/soc/ti/Kconfig +++ b/sound/soc/ti/Kconfig @@ -125,8 +125,9 @@ config SND_SOC_OMAP_ABE_TWL6040 config SND_SOC_OMAP_AMS_DELTA tristate "SoC Audio support for Amstrad E3 (Delta) videophone" - depends on MACH_AMS_DELTA && TTY - select SND_SOC_OMAP_MCBSP + depends on MACH_AMS_DELTA || COMPILE_TEST + depends on TTY + select SND_SOC_OMAP_MCBSP if COMMON_CLK select SND_SOC_CX20442 help Say Y or M if you want to add support for SoC audio device diff --git a/sound/soc/ti/ams-delta.c b/sound/soc/ti/ams-delta.c index 371943350fdf..7436cca2d2e0 100644 --- a/sound/soc/ti/ams-delta.c +++ b/sound/soc/ti/ams-delta.c @@ -16,8 +16,6 @@ #include <sound/soc.h> #include <sound/jack.h> -#include <asm/mach-types.h> - #include <linux/platform_data/asoc-ti-mcbsp.h> #include "omap-mcbsp.h"