Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2124752ybe; Sat, 7 Sep 2019 09:16:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpPPqDmc0XCy4jgg0Q5GjdadvdbkaWmG7Zqf1uBkg3hvoh8tSfpZApFGFKR5XeTgw6/g0Z X-Received: by 2002:a63:e48:: with SMTP id 8mr13082474pgo.389.1567872979383; Sat, 07 Sep 2019 09:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567872979; cv=none; d=google.com; s=arc-20160816; b=Zf0gCuWgBDBAMNtNCwyke7VYFAHrX4rc1DsIxzvyohymcNM+V9Kh6y06u9eKJzagBe PIPoTypH7duQijoj5zVPlHyRmZ9TAJgpNz+/N1tusuKpmeuvdhtrXhl/nNqojBqKfIxW X1URKa4afKXvmtuAjSUmYGqVn6lPMrNTl4pZBxKkHElgjGvbprNEu8/jMilbu/diQVh3 jsAB9XrjjaznkQ+XQalCzsMRdzjdgYYOXyYczk8v3Kwqrzgc2rBchF3h7l51Zf2ZluG9 TgGPsSa3iWVYXrrwnON699nJRQxvOzWb5KGS+KBuqaZFJvpfEZLb5JjzVbugNpS8JmCR Sn+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jF5BVtammoTaQOLAcIoqXMbaJsLPWh8DJLhGmlc990g=; b=B1orVBG4RS+TacLLRR3P9qv2cf/u92HyA6GIxPVz8HIFM0ordnsLoaLy+lhdHqGsu9 2gMpTQo3zV5fS/ZSCBVuYZ82JCkcHmOYYgq8Jq/MrZTFzx7SaQFCkgzvu/5Yk/NJXkhp Zo6vo1M8XbKmcaYSn+SOPPcRODDPLcuQhtbqA5pdPGcPBypv4KiyZI0H4h+urgmKwRTZ qfUbGCwFItAjDrNm3MPWspeh48FlTh2bwpx4p7eFC+hOC1u54Dmo5qWmxFtu59+HjSwS xKM+h03kdAlXmZC8Alp49IPKL899TMedMivdITI70zXPtUEWsV9VpweSFH1nxHdotLxT RcWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X1CemnEO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si7658071plt.315.2019.09.07.09.16.03; Sat, 07 Sep 2019 09:16:19 -0700 (PDT) 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=@kernel.org header.s=default header.b=X1CemnEO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404687AbfIFS3V (ORCPT + 99 others); Fri, 6 Sep 2019 14:29:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:53954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391371AbfIFS3V (ORCPT ); Fri, 6 Sep 2019 14:29:21 -0400 Received: from localhost (unknown [62.28.240.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9E1932082C; Fri, 6 Sep 2019 18:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567794560; bh=le0ALQaDnlgcqarLRMQtu/QI4EFwGOH5PX4ms/GeKIc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X1CemnEOLlGMFFQA8Axyn/In8fCt0xMKu+fHtjxyvyRkv17mkIZ32vkPn6sc0p9sl y+W1f89QWROdrPTlEACr0WRKklhLUYVQdmmxZ2E1Xzja+B7SBIEEy/hNZD8WWk9TpG qcJL9GwDQb2T9LCQXUJk57JUC5gHQa48AcfIXOoc= Date: Fri, 6 Sep 2019 14:29:17 -0400 From: Sasha Levin To: Ricard Wanderlof Cc: Greg Kroah-Hartman , Mark Brown , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: revert: ASoC: Fail card instantiation if DAI format setup fails Message-ID: <20190906182917.GA1528@sasha-vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 06, 2019 at 05:00:28PM +0200, Ricard Wanderlof wrote: > >Sorry for the repost, I relized I stupidly got Greg's email adress wrong >first time around. > >> > On Tue, Aug 27, 2019 at 12:00:14PM +0100, Mark Brown wrote: >> > > On Sun, Aug 25, 2019 at 09:35:15PM -0400, Sasha Levin wrote: >> > > > On Wed, Aug 14, 2019 at 10:22:13AM +0100, Mark Brown wrote: >> > > >> > > > > > If the DAI format setup fails, there is no valid communication format >> > > > > > between CPU and CODEC, so fail card instantiation, rather than >> > > > continue >> > > > > > with a card that will most likely not function properly. >> > > >> > > > > This is another one where if nobody noticed a problem already and things >> > > > > just happened to be working this might break things, it's vanishingly >> > > > > unlikely to fix anything that was broken. >> > > >> > > > Same as the other patch: this patch suggests it fixes a real bug, and if >> > > > this patch is broken let's fix it. >> > > >> > > If anyone ran into this on the older kernel and fixed or worked >> > > around it locally there's a reasonable chance this will then >> > > break what they're doing. The patch itself is perfectly fine but > >(Sorry about the mangled subject line, I'd accidentally deleted the >original message from my inbox.) > >I'm a bit bewildered here. As the author of the original patch I'm of >course biased, and I can certainly understand the patch being dropped from >existing release branches, since as Mark correctly states, it does not fix >any broken behavior and might even break things that happen to work by >chance. > >But is this being dropped from the master branch as well? To me it makes >the kernel behave in an inconsistent way, first reporting a failure to >instantiate a specific sound card in the kernel log, but then seemingly >bringing it up anyway. Hi Richard, This patch is only dropped from the stable branches, it still remains in the mainline branch. -- Thanks, Sasha