Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2514738rwd; Fri, 2 Jun 2023 10:24:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ455XqxNQeJNsRyYqkMcfl+tpDeknOoSOcjNztYNL5EMVJFDw/qaPHodL/L7DjoW1uAJPvF X-Received: by 2002:a17:902:e543:b0:1b0:25ab:a9ec with SMTP id n3-20020a170902e54300b001b025aba9ecmr516758plf.42.1685726668355; Fri, 02 Jun 2023 10:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685726668; cv=none; d=google.com; s=arc-20160816; b=kzNy5OtqYTRBboRoevlgYev3rxj9NNAAfR1w3siQSHoo8lUiSV1Eo1hYUNZbL8vREE Tu74R48IFlu1pl+kg26+a85MZGMP8Ogwx9Za2uiHHT9ynHqO2i2NWhZEWVjGYwZX+/uB hdtMwcgmZaiWQocXDKB4817+I1TaaYZhmv3JsJe/JSEvEVFY4z2SyFM2s3sUV7Idk+vf WhTv+nT5nwlejQMqDfQd20jxqEGMO8W1+j+8jaFS3ZNvRT0lrxLoCvbBd81vvXoCPGvj GEceCVo59jgIMrkwt3f6hqnvhw/r7+UBethexJRXEh3hixKdQnMkHFF6m/OogQHmVocM pGsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=xFhNOILR6GpnV+o+Yz93mwrwFIZC6A1dyDCTwTBZISY=; b=DEZYtq3va+J87rRwwBo8TKk64RqftH+Mzxg7nynL+vdvTWpWtSpDSoyrPQOkAVJ66X ba5Vo/A/L50yCYwmhTAykeqgRI3A89Jyd8Q9O0i8IINa3wWpzzwbUTO0S/NeflR/sab0 WCCHo1p7vOhqGefhoUWePX8uiEwJNgDppGkCRyqsaAACHJPNAU1Hlnc9hIgpLzWMXyWf 9yglJgeKiVDWyQ/VquhClW+3QOmHZCjHpdpwd5MzRe/AJFIzoBBIMeYiwWQsOjheKb6i ajdvZ22RYkfEPqeeGhbzQXNoxb7zDyGI9ZeE3bPEJGpqtot9FdUmeSWFDUx4Gbj5Wl3v omMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T4HBsuap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e1-20020a170902d38100b001a6f91439d8si1185191pld.393.2023.06.02.10.24.16; Fri, 02 Jun 2023 10:24:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T4HBsuap; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236571AbjFBRKG (ORCPT + 99 others); Fri, 2 Jun 2023 13:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235598AbjFBRKE (ORCPT ); Fri, 2 Jun 2023 13:10:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E17DF1A2 for ; Fri, 2 Jun 2023 10:10:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6593A617A4 for ; Fri, 2 Jun 2023 17:10:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BDB9C4339B; Fri, 2 Jun 2023 17:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685725802; bh=Sm9tqdONmLaACZgnEVSVfiPc4+bYFHegJgO3G2ZQySs=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=T4HBsuapNljICDcLypo93MZPmrKun/442h0PJT1po9Gl2s9PPfeYgHpLKEdmZZInm sTfysp9TP0A6fHTcFKdoJorTkO3M0TyZCd4kqh/Ot74C7o5c0V8Jk3QG6nIz8sNm/A S/uAyaWedYNMVZyKTRDxftCB2SMrVWYl7pskLL2t9o5/2dVbvba5yLXwfH4D8e1Umj gvxLjRePIN3u0IpZiUxefVs+DJV9G7xgZjYkJK+bEpxpPgR/EK2T6vWEvF+E5znMss BPOhJ9qu7I7fpTXUBfPy+RPjQI/r7G1mtENuKTx7n3RMgz8HClCQqH202HtOUoTmd3 d5Ywa9rfjNugg== From: Mark Brown To: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Robert Hancock Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org In-Reply-To: <20230602011936.231931-1-robert.hancock@calian.com> References: <20230602011936.231931-1-robert.hancock@calian.com> Subject: Re: [PATCH] ASoC: simple-card-utils: fix PCM constraint error check Message-Id: <168572580128.93025.9865775498537143509.b4-ty@kernel.org> Date: Fri, 02 Jun 2023 18:10:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-bfdf5 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 01 Jun 2023 19:19:35 -0600, Robert Hancock wrote: > The code in asoc_simple_startup was treating any non-zero return from > snd_pcm_hw_constraint_minmax as an error, when this can return 1 in some > normal cases and only negative values indicate an error. > > When this happened, it caused asoc_simple_startup to disable the clocks > it just enabled and return 1, which was not treated as an error by the > calling code which only checks for negative return values. Then when the > PCM is eventually shut down, it causes the clock framework to complain > about disabling clocks that were not enabled. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: simple-card-utils: fix PCM constraint error check commit: 635071f5fee31550e921644b2becc42b3ff1036c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark