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 X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BC35C43387 for ; Tue, 15 Jan 2019 10:22:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 177C320656 for ; Tue, 15 Jan 2019 10:22:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernelci-org.20150623.gappssmtp.com header.i=@kernelci-org.20150623.gappssmtp.com header.b="zHe7vnS4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728584AbfAOKWi (ORCPT ); Tue, 15 Jan 2019 05:22:38 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33707 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727200AbfAOKWh (ORCPT ); Tue, 15 Jan 2019 05:22:37 -0500 Received: by mail-wr1-f66.google.com with SMTP id c14so2342465wrr.0 for ; Tue, 15 Jan 2019 02:22:36 -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=mzbLrLwUeXunO57XmL+w733BhnH6JDx6ULY4KyJ57VyNnoDeK1sYbHvpKGA9tcl6iU jU5d61lwUYQBd4JOWEPMma9/nYaxtLh8atfaZ28NJtFNd8FI/udmXdnmhp0Ai6QIzh5O vLuOWIBfTvqBPYPms9pWBFQO8IkUWAyEn+qnO6okeJlAjDmFMRywhZcu8HEmqMoEXRAt llU7bVluhF5IHpOKCzJEKMoJn+XEMRw9C+63Y5u2nJ89Q9aBye/Hl/K4pIc2DMT5R7yM UnHjkwZHxbnrASagjx8gEtK8bI2WyUAvaSi/+Ozx401G70ENcVd2lRWHFtg/0UlZ8iB7 6s8Q== X-Gm-Message-State: AJcUukc5Itry2tcu5c9dEwQ8Ywx9s5saLKkjALW3HMQ65M7w2hKJCeAv xX9CBl7L+qPPrULM6HcOaYVYlw== X-Google-Smtp-Source: ALg8bN67RoMVFly9of6cB8JsBOa6VXYxAy+tHKMJkpsXTT/o5m7vCHr7j0f8KHj10/Hjqo8ohJL43w== 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) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Kernelci-Report-Type: bisect X-Kernelci-Lab-Name: lab-baylibre X-Kernelci-Tree: next X-Kernelci-Branch: master X-Kernelci-Kernel: next-20190115 Subject: next/master boot bisection: next-20190115 on sun8i-h3-libretech-all-h3-cc 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: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/s= unxi_defconfig/lab-baylibre/boot-sun8i-h3-libretech-all-h3-cc.txt HTML log: https://storage.kernelci.org//next/master/next-20190115/arm/s= unxi_defconfig/lab-baylibre/boot-sun8i-h3-libretech-all-h3-cc.html Result: 8780cf1142a5 ASoC: soc-core: defer card probe until all compo= nent is added to list Checks: revert: PASS verify: PASS Parameters: Tree: next URL: http://git.kernel.org/pub/scm/linux/kernel/git/next/linux-nex= t.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 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 =3D dai_link->platform; - /* * FIXME * @@ -1129,6 +1128,14 @@ static int soc_init_dai_link(struct snd_soc_card *ca= rd, 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 *ca= rd, 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 ---------------------------------------------------------------------------= ---- Git bisection log: ---------------------------------------------------------------------------= ---- git bisect start # good: [3719876809e745b9db5293d418600c194bbf5c23] sbitmap: Protect swap_lo= ck from softirqs git bisect good 3719876809e745b9db5293d418600c194bbf5c23 # bad: [5aa6589e17bd4dbc1856e37281f00a290d733ab0] Add linux-next specific f= iles for 20190115 git bisect bad 5aa6589e17bd4dbc1856e37281f00a290d733ab0 # bad: [f2dd4e3054741e22c4c97c8a0fa05faa7239d60a] Merge remote-tracking bra= nch 'crypto/master' git bisect bad f2dd4e3054741e22c4c97c8a0fa05faa7239d60a # bad: [3ba858cbc004b32f8767d295b9b566eb0381da0c] Merge remote-tracking bra= nch 'qcom/for-next' git bisect bad 3ba858cbc004b32f8767d295b9b566eb0381da0c # bad: [4cc2339ea8900debf88333934fa9b1dbc96ee2aa] Merge remote-tracking bra= nch 'btrfs-fixes/next-fixes' git bisect bad 4cc2339ea8900debf88333934fa9b1dbc96ee2aa # good: [259764fd4e5b47aedd6317d2edf5d813333909c5] Merge remote-tracking br= anch 'net/master' git bisect good 259764fd4e5b47aedd6317d2edf5d813333909c5 # bad: [29568b4049ff4ef23ce0a2dd46cbaed94b589c78] Merge remote-tracking bra= nch 'usb-serial-fixes/usb-linus' git bisect bad 29568b4049ff4ef23ce0a2dd46cbaed94b589c78 # good: [798729dc036d5bb384e24bb48af5c9ea6554d945] Merge remote-tracking br= anch 'sound-current/for-linus' git bisect good 798729dc036d5bb384e24bb48af5c9ea6554d945 # bad: [d9c51542207a29b7b06c11f1085a1e3b8eb24f07] Merge branch 'asoc-5.0' i= nto asoc-linus git bisect bad d9c51542207a29b7b06c11f1085a1e3b8eb24f07 # good: [678e2b44c8e3fec3afc7202f1996a4500a50be93] ALSA: compress: prevent = potential divide by zero bugs git bisect good 678e2b44c8e3fec3afc7202f1996a4500a50be93 # good: [667e9334fa64da2273e36ce131b05ac9e47c5769] ASoC: tlv320aic32x4: Ker= nel OOPS while entering DAPM standby mode git bisect good 667e9334fa64da2273e36ce131b05ac9e47c5769 # bad: [8780cf1142a59568a3aa77959cbd76b2edb6fd81] ASoC: soc-core: defer car= d probe until all component is added to list git bisect bad 8780cf1142a59568a3aa77959cbd76b2edb6fd81 # good: [44fabd8cdaaa3acb80ad2bb3b5c61ae2136af661] ASoC: atom: fix a missin= g check of snd_pcm_lib_malloc_pages git bisect good 44fabd8cdaaa3acb80ad2bb3b5c61ae2136af661 # first bad commit: [8780cf1142a59568a3aa77959cbd76b2edb6fd81] ASoC: soc-co= re: defer card probe until all component is added to list ---------------------------------------------------------------------------= ----