Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp205859ybx; Tue, 5 Nov 2019 22:31:27 -0800 (PST) X-Google-Smtp-Source: APXvYqzwVuC2wZtPKQngsBI8hne8suLuOgZZ+4WAnF+klk2vHLngZw2Qf15sWlUTppXhlj/APxdh X-Received: by 2002:a17:906:3045:: with SMTP id d5mr31978871ejd.162.1573021887589; Tue, 05 Nov 2019 22:31:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573021887; cv=none; d=google.com; s=arc-20160816; b=sfA911p0mV8ajgWN8Lvret8QC4ufgQW57dnB6glxeYgYk/M7/MNxJMPUHx6jeHSctr tABje5snAPG2b1PQ7zu0EOyt8GYwi49HzDkYoYX+exXAEDrHZ0TitcCioz3iWZZLvf3W jj0AzYcmbgw/v9dC9As89LIPqxBQ0bVA4Lqu/73sJCGjsQiovq2gViW9tbyHolG6V75G 7uFXo0zolsPpdlNPKLnfuwqtPKd0o6vSN8gSb3FdHARRZG+h8wECpE+M2OipyaEJxbUn IeqGqBYeEqJg3H8ijTdbP5zaaKsu2nSm4f1zDbbkPC9x8KEBvYwb057i32oTbMKru65g WT/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:from:to:subject :content-transfer-encoding:mime-version:date:message-id :dkim-signature; bh=+f/nil2KcNNXA8az57lhYCTpyXUZt+dq0Bg8utXgN+w=; b=fPPPZqX85J229ZTQjdIoO8B2vkBuHmoYLfYlWjD0j6OUk0s6iZ/hYrJc8FT8C5EO7o /KWnFq6k8wdDUfv8kKThZu7aR1f2+z0XlvHLee7nRqGJN3mgEd7jDFLr2JGhybVps39t TgC2O8omi/QHJPFX/lLl3DhZQfBaNZuUhB/jC65K0jh67MRJlOAco9udVU8xzN7ku+RI /Va7fJmV6TpCpE/ADWRKZfzJxbZLcFkqqd2hijnmrL1xUAN+UcsakeFVLoRfzZyaOAUj HfREacwbzfJ5y+QV4dYwgujNo8Eoy0/I4nOxUJC9RuEi5rDrW5P+9EhWbJmwDuzQ/e8v NSlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=aTLsOLR8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si94154edr.324.2019.11.05.22.31.03; Tue, 05 Nov 2019 22:31:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernelci-org.20150623.gappssmtp.com header.s=20150623 header.b=aTLsOLR8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729716AbfKFG1y (ORCPT + 99 others); Wed, 6 Nov 2019 01:27:54 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40338 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727795AbfKFG1y (ORCPT ); Wed, 6 Nov 2019 01:27:54 -0500 Received: by mail-wr1-f66.google.com with SMTP id i10so3596114wrs.7 for ; Tue, 05 Nov 2019 22:27: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=+f/nil2KcNNXA8az57lhYCTpyXUZt+dq0Bg8utXgN+w=; b=aTLsOLR8XKvkP09Cm88Qty3MSj8H0AdpWVfK7IXIBsbyXZvBgtBP7fE1FOUc6HMmQV MdbY9lLFK8ghS/SESrC2gtwjiLFkZW9cm10F7kIjxJQc/8/DXNhXGoPJbd+m1B43cqB/ LuTLCPgNAgUgWQ7USx9FsPP0HxfOba/YnfHGBIvlxLLKomnTSoKaiHZVjkubAMmWZGA9 4K8Of/X9REoxmRvSKFzqiQptpOvEGBxJysI5PynIHJEJo7+oTbW0Aq+TAO+y9lqROTMg NO5dCI0qFrxGS2kwGe9hCQw+HZER/tTUWjhap3zwUWmeOg20mI4m8KUq+REdKHlToXOs f7kg== 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=+f/nil2KcNNXA8az57lhYCTpyXUZt+dq0Bg8utXgN+w=; b=tJAULkyj5VTOGXAgn3JTs/6Dh07//4+fQ4PiWj46Fw2SdLGfOr6nKVXt9SvUfM4+bv jn1SnCnPkO9n9TMHvaT88klq8XiaCtJQ+c3CGN7AgHioTYftAazF5dtnXbxqfV+F9isv JtXjx6aeu9hd/0h8FJk7TDUwqmj+fVWorewgLaobAyXJxMVnTRZFWmoZW4Oap1hvtLlw NU5A/H4mx4jrflDghTf3osgu8h8E0HtqgI5yQQQ88aJ2F7AlCeEL1vAgFLdW6XJazwuc TzLgotONSdnDXQgHK39zGywLmNplXgINR2fxphXoB3v0coI/7TTeLRqtGhyuu4ZNYUfo zEfg== X-Gm-Message-State: APjAAAVqSyti5EAPKQy9XTbLGyHr1mSFvGCIN0S08acxCzeZRXaCa1Xr 6fx4yIg/1gfTJPgIIkb1Ts9Sig== X-Received: by 2002:adf:e386:: with SMTP id e6mr905440wrm.397.1573021671687; Tue, 05 Nov 2019 22:27:51 -0800 (PST) Received: from [148.251.42.114] ([2a01:4f8:201:9271::2]) by smtp.gmail.com with ESMTPSA id l18sm26812563wrn.48.2019.11.05.22.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 22:27:51 -0800 (PST) Message-ID: <5dc267e7.1c69fb81.496da.9bf1@mx.google.com> Date: Tue, 05 Nov 2019 22:27:51 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Kernelci-Branch: for-next X-Kernelci-Lab-Name: lab-baylibre X-Kernelci-Tree: broonie-sound X-Kernelci-Report-Type: bisect X-Kernelci-Kernel: v5.4-rc6-292-gc1efaea10be0 Subject: broonie-sound/for-next boot bisection: v5.4-rc6-292-gc1efaea10be0 on sun8i-h3-libretech-all-h3-cc To: Mark Brown , tomeu.vizoso@collabora.com, guillaume.tucker@collabora.com, mgalka@collabora.com, Kuninori Morimoto , Pierre-Louis Bossart , broonie@kernel.org, Ranjani Sridharan , 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. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" * * * * Hope this helps! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * broonie-sound/for-next boot bisection: v5.4-rc6-292-gc1efaea10be0 on sun8i-= h3-libretech-all-h3-cc Summary: Start: c1efaea10be0 Merge branch 'asoc-5.5' into asoc-next Details: https://kernelci.org/boot/id/5dc218e159b5142346138dff Plain log: https://storage.kernelci.org//broonie-sound/for-next/v5.4-rc6= -292-gc1efaea10be0/arm/sunxi_defconfig/gcc-8/lab-baylibre/boot-sun8i-h3-lib= retech-all-h3-cc.txt HTML log: https://storage.kernelci.org//broonie-sound/for-next/v5.4-rc6= -292-gc1efaea10be0/arm/sunxi_defconfig/gcc-8/lab-baylibre/boot-sun8i-h3-lib= retech-all-h3-cc.html Result: ac6a4dd3e9f0 ASoC: soc-core: use snd_soc_lookup_component() a= t snd_soc_unregister_component() Checks: revert: PASS verify: PASS Parameters: Tree: broonie-sound URL: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound= .git Branch: for-next Target: sun8i-h3-libretech-all-h3-cc CPU arch: arm Lab: lab-baylibre Compiler: gcc-8 Config: sunxi_defconfig Test suite: boot Breaking commit found: ---------------------------------------------------------------------------= ---- commit ac6a4dd3e9f09697ab6a1774d7ab6a34e7ab36fa Author: Kuninori Morimoto Date: Tue Nov 5 15:46:51 2019 +0900 ASoC: soc-core: use snd_soc_lookup_component() at snd_soc_unregister_co= mponent() = snd_soc_unregister_component() is now finding component manually, but we already have snd_soc_lookup_component() to find component; Let's use existing function. = Signed-off-by: Kuninori Morimoto Reviewed-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Link: https://lore.kernel.org/r/87zhha252c.wl-kuninori.morimoto.gx@rene= sas.com Signed-off-by: Mark Brown diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index bb0592159414..0ce333669138 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2876,29 +2876,19 @@ EXPORT_SYMBOL_GPL(snd_soc_register_component); * * @dev: The device to unregister */ -static int __snd_soc_unregister_component(struct device *dev) +void snd_soc_unregister_component(struct device *dev) { struct snd_soc_component *component; - int found =3D 0; = mutex_lock(&client_mutex); - for_each_component(component) { - if (dev !=3D component->dev) - continue; + while (1) { + component =3D snd_soc_lookup_component(dev, NULL); + if (!component) + break; = snd_soc_del_component_unlocked(component); - found =3D 1; - break; } mutex_unlock(&client_mutex); - - return found; -} - -void snd_soc_unregister_component(struct device *dev) -{ - while (__snd_soc_unregister_component(dev)) - ; } EXPORT_SYMBOL_GPL(snd_soc_unregister_component); ---------------------------------------------------------------------------= ---- Git bisection log: ---------------------------------------------------------------------------= ---- git bisect start # good: [a99d8080aaf358d5d23581244e5da23b35e340b9] Linux 5.4-rc6 git bisect good a99d8080aaf358d5d23581244e5da23b35e340b9 # bad: [c1efaea10be0d91b6986af5c14cd3482ab160981] Merge branch 'asoc-5.5' i= nto asoc-next git bisect bad c1efaea10be0d91b6986af5c14cd3482ab160981 # good: [1092b09708882e3c216f0b9c02e606b3c0942c5b] ASoC: tlv320aic32x4: add= a check for devm_clk_get git bisect good 1092b09708882e3c216f0b9c02e606b3c0942c5b # good: [f03412b78a947857bbd20899e1423482fba55761] ASoC: rockchip-max98090:= Support usage with and without HDMI git bisect good f03412b78a947857bbd20899e1423482fba55761 # good: [acbf27746ecfa96b290b54cc7f05273482ea128a] ASoC: pcm: update FE/BE = trigger order based on the command git bisect good acbf27746ecfa96b290b54cc7f05273482ea128a # bad: [e443c20593de9f8efd9b2935ed40eb0bbacce30b] ASoC: soc-core: don't cal= l snd_soc_dapm_new_dai_widgets() at snd_soc_register_dai() git bisect bad e443c20593de9f8efd9b2935ed40eb0bbacce30b # good: [b8132657990b5a09ad8e1c9e2c8efc20b5f9372a] ASoC: soc-core: move snd= _soc_lookup_component() git bisect good b8132657990b5a09ad8e1c9e2c8efc20b5f9372a # bad: [ac6a4dd3e9f09697ab6a1774d7ab6a34e7ab36fa] ASoC: soc-core: use snd_s= oc_lookup_component() at snd_soc_unregister_component() git bisect bad ac6a4dd3e9f09697ab6a1774d7ab6a34e7ab36fa # good: [486c7978ff665eb763f70cc9477e0de6326e1c41] ASoC: soc-core: add snd_= soc_del_component_unlocked() git bisect good 486c7978ff665eb763f70cc9477e0de6326e1c41 # good: [b18768f56162964f70bbb9119dba59a947d7d577] ASoC: soc-core: remove s= nd_soc_component_add/del() git bisect good b18768f56162964f70bbb9119dba59a947d7d577 # first bad commit: [ac6a4dd3e9f09697ab6a1774d7ab6a34e7ab36fa] ASoC: soc-co= re: use snd_soc_lookup_component() at snd_soc_unregister_component() ---------------------------------------------------------------------------= ----