From patchwork Tue Jan 15 10:22:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "kernelci.org bot" X-Patchwork-Id: 155651 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4707993jaa; Tue, 15 Jan 2019 02:22:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN70BL7john20SCf7sfCK78sZ2Ev7sKE0bEtLZGXWCEzHzy0vpOju00vPFzny4C9CbSSG7nL X-Received: by 2002:a1c:544f:: with SMTP id p15mr2706636wmi.37.1547547761487; Tue, 15 Jan 2019 02:22:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547547761; cv=none; d=google.com; s=arc-20160816; b=0wCIOV3HGdZfATwqfdTorK1byOXCOTqVqwNdv9j5DgK2XvMwjp8UjuxoLKA7k5W3hz oeyY9CTQkvxN0cNpyuNjIWyuVESPYVjpR1c+j8UsYVcbAmkYod6B4VtSBJDgsWRBDs3k jzn9KUloVqzGqSzcDDBMJcOoVX3LT5Y1nZPUcl3LE2v9DVHCB93x3ZBQakZoIBuiVp3+ uPkcqc5XGt97rB3wztWzkc/tDLPP8qPxILdvQBB3kv6bOewg6P0AabzqukgNpz0tyg6j GqGIGNcdcEIe9ex3C39FLU7UhsqDABkbgZpoOpnFVwrL5RZ9cACenwYvblbk3zhdStX1 2jRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:from:to:mime-version:date:message-id:dkim-signature:delivered-to; bh=8LvCyNLNV6Sb8rlJdRhCIZIw5xG4CKeMe6ngV4FLNUw=; b=fWZjOeS+cCrSTeA2kjqcWsw0TiVuq65AV3apxySG59MIPqb+Jns6jxhTySw+kGkZ7B kKkSa1PeUBVzjHYQJEDkXEhREzQUYNieiaHR6fSJSgj/uIu9d0Nr8zQr7qGfr8a/rXdn O5NxS7DKLYjfi/1FiAbMYuSXpUyRVO4Kgz39Esr2EJ3QSVPgwMWBvcQjcpO8oFR2Cofl zlXBxzhbto0ReN2XAH2BEKAQK7kH2Pc36ds57YnY9QTQIHx2pUrzGrXV0axQVyZbYaHY NGDj75sj2XebpxAjZ/cNN8+UxgJRXueco6uepFJr5vW2HBNKxwA1kIrM8xFWfd80KkS0 K6BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=zHe7vnS4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id s7si15370781wri.317.2019.01.15.02.22.41; Tue, 15 Jan 2019 02:22:41 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=zHe7vnS4; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 49CFB267454; Tue, 15 Jan 2019 11:22:40 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id EFC55267455; Tue, 15 Jan 2019 11:22:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by alsa0.perex.cz (Postfix) with ESMTP id EFCF926744A for ; Tue, 15 Jan 2019 11:22:35 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id z5so2245792wrt.11 for ; Tue, 15 Jan 2019 02:22:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernelci-org.20150623.gappssmtp.com; s=20150623; h=message-id:date:mime-version:content-transfer-encoding:subject:to :from:cc; bh=5EkF0nL7uPql5nrrZY1Qx75ANjB3o8kTqQf12sIukgc=; b=zHe7vnS47ioPCPMzOlkB65gj1H1gV1dDmg/33TehYvifBdR1imilS+J+FeJWkhiuNF oQQWlGwd8fCRCJiv9JFyzz3jHUhOBIptYq7w9pW/rDZqEVkQUnTsJWFwTj4b4c9it6o9 4rCVGm2WdH0O6mw0yvtkvOthGSCRVahoz38cZIDP1C+tH+6RGM9LaEt4B07d7urYFK1P bfPcjEtm6yK/MMae69eJ2joxGyGclSyAzzRpnfR/En7kHtqB92LampNh14AwSAqP9rwO AzdOBLevSvRqRxO6hbvUuIYOcQsvrVMV0pfPMfREzj0/tOcGObsV5NnS1Tl58Ja5+8nE T2hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version :content-transfer-encoding:subject:to:from:cc; bh=5EkF0nL7uPql5nrrZY1Qx75ANjB3o8kTqQf12sIukgc=; b=KUosbJIbIu5viZcYLFIuQxXj8QfuAXXkdz7B7M6WT7N26cqvJSlWdKvz22DFNR7XKq +6mHfnzhd7gWQaHUAfG84a35qJWlLAkIXZxzcWtSG7pzkc564wil5oNAWunnqN47qmTf jXmk2kwswzOa48MMl6GLwJJQ+XBHQo/vxL41+fBxkZfcl/YbU0jy8rPhCEOik1+l3jN4 n6R5ZH2nf+6cPKFShsnqjkuKoZa382SrjVq+VwT+untuE2MkTgmL0HG/KBKvjWXbFOpq NOwAx/j4N1dqwZjTXWGDWC0tXd/7VXcXfujL1vrGHdfYzjm0kxp2axoH67vkZqBB6G6B iqmA== X-Gm-Message-State: AJcUukdcnQhVIIm6yp7N9EVCrtJWRw+iiaaBzx9OoAy9fPqWi7iWBJwI 2lxHEPYP71Ufihu4HT+rsiGP9A== X-Received: by 2002:adf:f101:: with SMTP id r1mr2531026wro.32.1547547755380; Tue, 15 Jan 2019 02:22:35 -0800 (PST) Received: from [148.251.42.114] ([2a01:4f8:201:9271::2]) by smtp.gmail.com with ESMTPSA id v6sm57559406wro.57.2019.01.15.02.22.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 02:22:34 -0800 (PST) Message-ID: <5c3db46a.1c69fb81.eb358.b56d@mx.google.com> Date: Tue, 15 Jan 2019 02:22:34 -0800 (PST) MIME-Version: 1.0 X-Kernelci-Report-Type: bisect X-Kernelci-Lab-Name: lab-baylibre X-Kernelci-Tree: next X-Kernelci-Branch: master X-Kernelci-Kernel: next-20190115 To: Ajit Pandey , tomeu.vizoso@collabora.com, Rohit kumar , guillaume.tucker@collabora.com, Mark Brown , broonie@kernel.org, matthew.hart@linaro.org, khilman@baylibre.com, enric.balletbo@collabora.com From: "kernelci.org bot" Cc: Liam Girdwood , alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org Subject: [alsa-devel] next/master boot bisection: next-20190115 on sun8i-h3-libretech-all-h3-cc X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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-bounces@alsa-project.org * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * Hope this helps! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * next/master boot bisection: next-20190115 on sun8i-h3-libretech-all-h3-cc Summary: Start: 5aa6589e17bd Add linux-next specific files for 20190115 Details: https://kernelci.org/boot/id/5c3d77f659b51450786edd44 Plain log: https://storage.kernelci.org//next/master/next-20190115/arm/sunxi_defconfig/lab-baylibre/boot-sun8i-h3-libretech-all-h3-cc.txt HTML log: https://storage.kernelci.org//next/master/next-20190115/arm/sunxi_defconfig/lab-baylibre/boot-sun8i-h3-libretech-all-h3-cc.html Result: 8780cf1142a5 ASoC: soc-core: defer card probe until all component is added to list Checks: revert: PASS verify: PASS Parameters: Tree: next URL: http://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Branch: master Target: sun8i-h3-libretech-all-h3-cc CPU arch: arm Lab: lab-baylibre Config: sunxi_defconfig Test suite: boot Breaking commit found: ------------------------------------------------------------------------------- commit 8780cf1142a59568a3aa77959cbd76b2edb6fd81 Author: Ajit Pandey Date: Wed Jan 9 14:17:07 2019 +0530 ASoC: soc-core: defer card probe until all component is added to list DAI component probe is not called if it is not present in component list during sound card registration. Check if component is available in component list for platform and cpu dai before soundcard registration. Signed-off-by: Ajit Pandey Signed-off-by: Rohit kumar Signed-off-by: Mark Brown ------------------------------------------------------------------------------- Git bisection log: ------------------------------------------------------------------------------- git bisect start # good: [3719876809e745b9db5293d418600c194bbf5c23] sbitmap: Protect swap_lock from softirqs git bisect good 3719876809e745b9db5293d418600c194bbf5c23 # bad: [5aa6589e17bd4dbc1856e37281f00a290d733ab0] Add linux-next specific files for 20190115 git bisect bad 5aa6589e17bd4dbc1856e37281f00a290d733ab0 # bad: [f2dd4e3054741e22c4c97c8a0fa05faa7239d60a] Merge remote-tracking branch 'crypto/master' git bisect bad f2dd4e3054741e22c4c97c8a0fa05faa7239d60a # bad: [3ba858cbc004b32f8767d295b9b566eb0381da0c] Merge remote-tracking branch 'qcom/for-next' git bisect bad 3ba858cbc004b32f8767d295b9b566eb0381da0c # bad: [4cc2339ea8900debf88333934fa9b1dbc96ee2aa] Merge remote-tracking branch 'btrfs-fixes/next-fixes' git bisect bad 4cc2339ea8900debf88333934fa9b1dbc96ee2aa # good: [259764fd4e5b47aedd6317d2edf5d813333909c5] Merge remote-tracking branch 'net/master' git bisect good 259764fd4e5b47aedd6317d2edf5d813333909c5 # bad: [29568b4049ff4ef23ce0a2dd46cbaed94b589c78] Merge remote-tracking branch 'usb-serial-fixes/usb-linus' git bisect bad 29568b4049ff4ef23ce0a2dd46cbaed94b589c78 # good: [798729dc036d5bb384e24bb48af5c9ea6554d945] Merge remote-tracking branch 'sound-current/for-linus' git bisect good 798729dc036d5bb384e24bb48af5c9ea6554d945 # bad: [d9c51542207a29b7b06c11f1085a1e3b8eb24f07] Merge branch 'asoc-5.0' into asoc-linus git bisect bad d9c51542207a29b7b06c11f1085a1e3b8eb24f07 # good: [678e2b44c8e3fec3afc7202f1996a4500a50be93] ALSA: compress: prevent potential divide by zero bugs git bisect good 678e2b44c8e3fec3afc7202f1996a4500a50be93 # good: [667e9334fa64da2273e36ce131b05ac9e47c5769] ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode git bisect good 667e9334fa64da2273e36ce131b05ac9e47c5769 # bad: [8780cf1142a59568a3aa77959cbd76b2edb6fd81] ASoC: soc-core: defer card probe until all component is added to list git bisect bad 8780cf1142a59568a3aa77959cbd76b2edb6fd81 # good: [44fabd8cdaaa3acb80ad2bb3b5c61ae2136af661] ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages git bisect good 44fabd8cdaaa3acb80ad2bb3b5c61ae2136af661 # first bad commit: [8780cf1142a59568a3aa77959cbd76b2edb6fd81] ASoC: soc-core: defer card probe until all component is added to list ------------------------------------------------------------------------------- _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 0462b3ec977a..eec92f17dd15 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1027,7 +1027,6 @@ static int snd_soc_init_platform(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link) { struct snd_soc_dai_link_component *platform = dai_link->platform; - /* * FIXME * @@ -1129,6 +1128,14 @@ static int soc_init_dai_link(struct snd_soc_card *card, link->name); return -EINVAL; } + + /* + * Defer card registartion if platform dai component is not added to + * component list. + */ + if (!soc_find_component(link->platform->of_node, link->platform->name)) + return -EPROBE_DEFER; + /* * CPU device may be specified by either name or OF node, but * can be left unspecified, and will be matched based on DAI @@ -1140,6 +1147,14 @@ static int soc_init_dai_link(struct snd_soc_card *card, link->name); return -EINVAL; } + + /* + * Defer card registartion if cpu dai component is not added to + * component list. + */ + if (!soc_find_component(link->cpu_of_node, link->cpu_name)) + return -EPROBE_DEFER; + /* * At least one of CPU DAI name or CPU device name/node must be * specified