From patchwork Mon Jan 14 14:37:51 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: 10762891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 677AA91E for ; Mon, 14 Jan 2019 15:03:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56B9B28FD5 for ; Mon, 14 Jan 2019 15:03:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54BDA2905A; Mon, 14 Jan 2019 15:03:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5BF942900D for ; Mon, 14 Jan 2019 15:03:35 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B6201266860; Mon, 14 Jan 2019 15:37:57 +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 B16EE26699F; Mon, 14 Jan 2019 15:37:55 +0100 (CET) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by alsa0.perex.cz (Postfix) with ESMTP id 5A70726680F for ; Mon, 14 Jan 2019 15:37:52 +0100 (CET) Received: by mail-wm1-f65.google.com with SMTP id y139so9080060wmc.5 for ; Mon, 14 Jan 2019 06:37:52 -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=uUZPmTowcL4tFtRiWsaHRKZccJHRgWqQkaWSfBzrPug=; b=BDCwnhJHSf0zjOATvUz4nsw+XIvtz15eQ+CPsOudrEEuKEBluDzw/lmAHqm+9U450c /3CMV15JWaDOexpe0Dchq5MkmSxQY26gt/q4YLoPmL7R/s2bouPu2U0D9O8zD4kr1Ypm E6skjvUTPyaqf3N7wqgwKxl8gRNeBMVXmVZXUSS10mM8Hd2k/f9u5PCQwQIVXZBg30ZK UavNxfWPZjsBne907q46eAghxZOn3TG1vaO7ek58RJI//Kx/K77UWWTgebhECIfifqMy y9yDu9bomkewUzD3GzszXGhgSw+AxWyJgR6GYpzh8gU2yB6OGxOQlp9OdV+f/enRL3sC MmqQ== 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=uUZPmTowcL4tFtRiWsaHRKZccJHRgWqQkaWSfBzrPug=; b=aYply7aGN1FPW0jgI2XBQrW5r3J7VqRq60nDg3Dqd4y3bSUdnNp468JpLiOKmT1RmB 9GenhPwvO+O5UxdRUYXrkhJg5k8i1OiFnKcM73BOeTfxyCJEVPB1QMU8zqg3dXOYvHj5 LMTVnB9HCf3CqFnlRVftAC1WDR4QhExQsl+v/vuw9stMhQY87DEyAbAfRSqiFOh44pxh 0/2idZ6tYUixVXc4ACPxxP8ve7N9Sv1Jdtr9FTVITvF4jypem10rYN3CKZHImadWCnhi h15fAyAR/mEPlCCyGTzHfL9Sf7Ylt+LadYdNLv9PT1/O6x46AuiAUDHOxF74q7d6wlM+ A5xQ== X-Gm-Message-State: AJcUukfeTiMbvR1cITTcbSt7cHo/sLGBRMHP0PDk0QoWWUzDtfUTR26L t43mog44i6ne1O930Se78Kz9Pg== X-Google-Smtp-Source: ALg8bN6Nw0IM357ADZz1HXXn0i4Zrj/BuXPwRAwTX26xRzOyE0OWoQTdglkbDN8Wn/HgOZyjXpHvCw== X-Received: by 2002:a1c:5892:: with SMTP id m140mr12169832wmb.60.1547476672510; Mon, 14 Jan 2019 06:37:52 -0800 (PST) Received: from [148.251.42.114] ([2a01:4f8:201:9271::2]) by smtp.gmail.com with ESMTPSA id o4sm65137283wrq.66.2019.01.14.06.37.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Jan 2019 06:37:51 -0800 (PST) Message-ID: <5c3c9ebf.1c69fb81.4fb13.f95a@mx.google.com> Date: Mon, 14 Jan 2019 06:37:51 -0800 (PST) MIME-Version: 1.0 X-Kernelci-Report-Type: bisect X-Kernelci-Lab-Name: lab-baylibre X-Kernelci-Tree: next X-Kernelci-Branch: pending-fixes X-Kernelci-Kernel: v5.0-rc1-535-g727b373740d1 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/pending-fixes boot bisection: v5.0-rc1-535-g727b373740d1 on bcm2837-rpi-3-b-32 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 X-Virus-Scanned: ClamAV using ClamSMTP * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 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/pending-fixes boot bisection: v5.0-rc1-535-g727b373740d1 on bcm2837-rpi-3-b-32 Summary: Start: 727b373740d1 Merge remote-tracking branch 'drm-misc-fixes/for-linux-next-fixes' Details: https://kernelci.org/boot/id/5c3c42c459b5145f216edd41 Plain log: https://storage.kernelci.org//next/pending-fixes/v5.0-rc1-535-g727b373740d1/arm/bcm2835_defconfig/lab-baylibre/boot-bcm2837-rpi-3-b.txt HTML log: https://storage.kernelci.org//next/pending-fixes/v5.0-rc1-535-g727b373740d1/arm/bcm2835_defconfig/lab-baylibre/boot-bcm2837-rpi-3-b.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: pending-fixes Target: bcm2837-rpi-3-b-32 CPU arch: arm Lab: lab-baylibre Config: bcm2835_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: [6b529fb0a3eabf9c4cc3e94c11477250379ce6d8] Merge tag 'for-5.0-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux git bisect good 6b529fb0a3eabf9c4cc3e94c11477250379ce6d8 # bad: [727b373740d1d3c6d3273cfc6e81d5e9a229b12d] Merge remote-tracking branch 'drm-misc-fixes/for-linux-next-fixes' git bisect bad 727b373740d1d3c6d3273cfc6e81d5e9a229b12d # good: [34aea5d2c46b2581ddf0b78a6119f85c1b3a8d1d] Merge remote-tracking branch 'net/master' git bisect good 34aea5d2c46b2581ddf0b78a6119f85c1b3a8d1d # bad: [52bb35a9520ac1746fb34687c5582695813aa00a] Merge remote-tracking branch 'char-misc.current/char-misc-linus' git bisect bad 52bb35a9520ac1746fb34687c5582695813aa00a # bad: [4baf5101d553aae944fa7dc7bd13772eb559d78b] Merge remote-tracking branch 'sound-asoc-fixes/for-linus' git bisect bad 4baf5101d553aae944fa7dc7bd13772eb559d78b # good: [49ff71f99a8826eda5cee76b69f15600d1cbf4b2] Merge remote-tracking branch 'rdma-fixes/for-rc' git bisect good 49ff71f99a8826eda5cee76b69f15600d1cbf4b2 # 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: [239b8b34a856777e562373ae0de605536a7ccade] ASoC: Intel: Boards: move the codec PLL configuration to _init git bisect bad 239b8b34a856777e562373ae0de605536a7ccade # 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 ------------------------------------------------------------------------------- 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