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 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DBAFCC6B38 for ; Fri, 16 Oct 2026 04:11:42 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4j5Wj85LFsz2ygW; Fri, 16 Oct 2026 15:11:40 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::62d" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123900; cv=none; b=W2HovbxjbD0RrkZyOHoyBoDML97WC4OiK28Shnusmq+Xgd/BUxFyZbZ8+yHOFdYNx2d4scGZRmVttJG/EJPCe2QfugwygZ1hJp24O4654KiGeYhkmdpZRIM0sye3ie+Y5iW3nF8Yo8vEiYwyzouE/9VUVdqGBaqVC2yUQep3PkJOeWj4631wgPs7rUfnKr5CPghFXqJSoWjsRAzffZhlFkmtXfbPnHUB8lK0HN0KZA+hadhV8Py0QSjuvVhZVRkttqMlxgm+LhJEpTN1MsIboAaeG1K7puHFc6n7oTQHBws44Gw07wS5u6QqDLJYxAl+1lKKMej7rARASZHHQsnIsg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123900; c=relaxed/relaxed; bh=6AfJhOKZbdns69Qk3jxc+qI7b+rXXsiPaDqc4PQO3Hk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BKah0gnnRi1FkDaAXwyjkJroabnjbF6+MQ+pO4Svroc1V5j39YArZFXunjklfKhDjAOPZof0eEvoWiBmJu+eOLPxowvKdKRw/suJZy/8QpGeUgyClxxC0F6CySCEABJ7CNdV5jjl4bMJni6UZKBaSO/sXYbgCn2Zp7Wvm6+nrUB9c7xSAKlc69++7HfKvZp4NGBVDsZA1IiDUqvlm+dug9geFUXjAewQv1kjyy0kbnmXAbdxFJkyojq0/miDzNgdz1CB1iZkjrypWVD5ACDOeVdYkrcihHbVC2jGJKbditb4u3gFWHKloXKhYvDe1mI4m5UHS9bXS9tneFKF45y5Tg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=ZPEC8FMH; dkim-atps=neutral; spf=pass (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=phucduc.bui@gmail.com; receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=ZPEC8FMH; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=phucduc.bui@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4j5Wj80lHxz2ygK for ; Fri, 16 Oct 2026 15:11:39 +1100 (AEDT) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-2e7e742a2c7so5032155ad.0 for ; Thu, 15 Oct 2026 21:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123898; x=1792728698; darn=lists.ozlabs.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6AfJhOKZbdns69Qk3jxc+qI7b+rXXsiPaDqc4PQO3Hk=; b=ZPEC8FMHNQd6DPaApECizDV0+jwzlIDMpp4ZJ7A3gLpe1JZ8S+257HCgdC2ucAdkH/ x6Un8LQZVltwiU4IBQvaX06KcAqjVueFL7xa5Xn7g9q/jgsUwAFDJFPujQbSWDn1uSwy WD1onKTHahdaD12QKBSvJyzkhJunfUhTub8Yzi02Ocl6yPhYi10XccQ+gkOtDGAfkwNs 5casqLtSRgzhaYLOAfdENI+Hl029unTwywkDiFQr7A0pmy/YAlDr6NYyNlocyMInrwWl KuFpvklgBGwh2Qx5ZxZBCFrJz9Jny7BPrAQqyACre3VpQ9fX0WhgvkccDT3aVM56caLi joyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123898; x=1792728698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6AfJhOKZbdns69Qk3jxc+qI7b+rXXsiPaDqc4PQO3Hk=; b=ODMvW7yolWf9Q6x7rhACM1VRj5mxX4dpQdXbkDEasYICXHpuOu0HMctpPStThyl8TN hz5bM9w4LvWSTe8c+4ffJsjH92nN046O00YBH5nC7zpaOsoRwbX2zniNpG27SJ9Kt7u6 ZLYiZAgf0FUDCr7rBhqMA58tRHLua+Zuc61PFHLSlin0l9UeT7nj+KTt62FHOy7CdLqG QcOUWNxXVtjFH4mJSO7r3fO77O9NrBFqYLc3b+0oEmAW55Ape6I4StudhKumo1IqKSEb 4li8G/kcHdGELv/e18B6lI1SvpAlGUCTOjjgBh+exTkSDHDcK+lUX/hFx0ptMHAE03jY SuSg== X-Forwarded-Encrypted: i=1; AKwUvBx7YyUY3zf2xHmG61cMhzb9WExJjM8yYMSus4fCCiwxVNbhzRh+LGHJnvQ+1TnRcKf+VwnyxxP6piSoVlA=@lists.ozlabs.org X-Gm-Message-State: AFq9FYIYwY7sP7nnczOdFmJZ9kKI1Wamq52kP3D/TVLDtHEpRQrGkDsJ sT+iH/U4VZJICvskvaVDJvqaN0ZTURzKwztWVp49kggNBiUgIBXScvUX X-Gm-Gg: AYBFou27nDZp+8kCztyXuMTYxoXUK4MPb1og+ACS8IkxR5ijkamNLmSpAvGabLmg7C8 Hx+secRrAc9Ofw39yiuLnj6oxecI162Ge9CLOn1mSbSsYCBIG6Q2nfEuzcqQMpVMJVLPGXJfCek ZgQJLLy39820WsKgqwVXliOBH5DAywuK9fBv96IO76jm4VwA3mwZx/e53kT/Kf1RF5xE5EBBT7l 9KDEtNcWlfUnBCDU2BZsUDqQSYIWBWZFHPkeoF4zAKXk7iXB2AwvagaQLVobJJ5QPpjdD6pd041 DiF1ldoU794CL6LPuJeJMG/ZOxnFmGF2Kzt4SvLo6jLF3gk0FENQ/r9bZs59mVKby36Nc/QiKCs 3/QbXTNvdJMeCiVCzbwYz6FL7xD2ph4f6OkqvJn++PE8fkm3p1Nr5M8uGp4xyf+coIXWyjNVxz/ bGCOWCjdOLi374Eu5STi6dLpV/tQJshanUN9Winp7/9RuwD8wkvNYon3PvL0gpJQZ8oBNQngDEV iwI94yloi4jbo4hO5XmmjhdAZ5OT3JHOrQt4R20cYT6bTDFme85V5J/HXs+ZHlwm2Ur9Y6SEcEB aPxis8kIJ4m4wA== X-Received: by 2002:a17:902:e54e:b0:2e8:3b2d:c0e1 with SMTP id d9443c01a7336-2e977597291mr13010325ad.41.1792123897928; Thu, 15 Oct 2026 21:11:37 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2e97e8ab443sm3815785ad.65.2026.10.15.21.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:11:37 -0700 (PDT) From: phucduc.bui@gmail.com To: Vijendar Mukunda , Venkata Prasad Potturu , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , povik+lin@cutebit.org, Claudiu Beznea , Andrei Simion , Nicolas Ferre , Alexandre Belloni , David Rhodes , Richard Fitzgerald , Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Cezary Rojewski , Peter Ujfalusi , Bard Liao , Kai Vehmanen , Pierre-Louis Bossart , Kuninori Morimoto , Geert Uytterhoeven , Magnus Damm , Biju Das , Lad Prabhakar , Heiko Stuebner Cc: Kees Cook , Syed Saba Kareem , wangdicheng , Chris Bainbridge , Linus Walleij , Charles Keepax , Neo Chang , Krzysztof Kozlowski , u.kleine-koenig@baylibre.com, Pengpeng Hou , Cristian Ciocaltea , Hemanth Selam , Md Shofiqul Islam , Bjorn Helgaas , Zain Aboobacker , Sang-Heon Jeon , Bo Shen , Vinod Koul , linux-sound@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, patches@opensource.cirrus.com, linuxppc-dev@lists.ozlabs.org, imx@lists.linux.dev, linux-rockchip@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, bui duc phuc Subject: [PATCH 07/11] ASoC: renesas: msiof: Explain component open return value handling Date: Fri, 16 Oct 2026 11:09:42 +0700 Message-ID: <20261016040946.521195-8-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261016040946.521195-1-phucduc.bui@gmail.com> References: <20261016040946.521195-1-phucduc.bui@gmail.com> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: bui duc phuc Add a comment explaining why .open() must return 0 on success to ensure the component is correctly marked as opened and prevent future changes from reintroducing the issue. Acked-by: Kuninori Morimoto Signed-off-by: bui duc phuc --- sound/soc/renesas/fsi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/renesas/fsi.c b/sound/soc/renesas/fsi.c index 88618e4b052d..74e2ea002fbb 100644 --- a/sound/soc/renesas/fsi.c +++ b/sound/soc/renesas/fsi.c @@ -1820,6 +1820,11 @@ static int fsi_pcm_open(struct snd_soc_component *component, if (ret < 0) return ret; + /* + * ASoC only marks the component as opened when .open() returns 0. + * Since snd_pcm_hw_constraint_integer() may return 1, explicitly + * return 0 to ensure the component is correctly marked as opened. + */ return 0; } -- 2.43.0 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A22DFCC6B2D for ; Fri, 16 Oct 2026 04:11:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1583uzVOxqp8GOS0LrwSq00e46l0Cf4DvMc9+3n7nX0=; b=m2bkpCtxg1ltM9 nE3LwdsSFzRUP8nLBfUui+B/YNA/0oSM/wJ7SbdsVKTlBYd1TEGh4BazgUv2mHe68J+jrQSbV6AyM lu9nci4a5v4SRTH7VzYlEBVkrGc8O3akSIpwULsH7oPZ9U5Iyt8Wn31vJreYFqPvhib25fyGXjwUu vNxL0DAQeLAGIijagAjUoKix1YqN11ujM05fLCdOQN9ugLmqj6Wk28RXJ9+V7geLPw7Myc0A4OofS ANwRndj7E3+mT2sBOADip1DPHHPQ/YTVZD3Ea7KFQHjPwjcVoMvrFnFjVHDQwDa5xJa6c5FKKQ/iB kPUTQ7XW951HWxIfgOgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZID-00000001wwK-3JqM; Fri, 16 Oct 2026 04:11:41 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZIB-00000001wum-06gv for linux-rockchip@lists.infradead.org; Fri, 16 Oct 2026 04:11:41 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-2e7e742a2c7so5032105ad.0 for ; Thu, 15 Oct 2026 21:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123898; x=1792728698; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=6AfJhOKZbdns69Qk3jxc+qI7b+rXXsiPaDqc4PQO3Hk=; b=KYRBM8xsVSuUZgvd5fucr8ixy4nh1q4mIlWBfrL3clCstf7Ya6nuD6Kivm0lbqiYEp c34GIe9XiU6Oe6koDtqtAKgBjWjWMSIEfeHQMOdCa6udG2fzSASpezorff5V54DpKzfu 44Yrgm49SRsk6tlzS2blwBnL9YFtIW5RZq8FUuIvaRihb7WndmR3LLxkTE4ygfb+4iek 5TjXbfygLxsqLf7hwN6EORStbzij9M0fM+m6tSXmr6aOmiqs4wZsAtokRez0YEfrf76z JZ1LafEEWaQlXQLC8O270aY3NEGLXobzrDYpIlgA+M6Cn+/uLx4b6oTQOgDJR7UDVwhn h+pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123898; x=1792728698; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=6AfJhOKZbdns69Qk3jxc+qI7b+rXXsiPaDqc4PQO3Hk=; b=wXQtBUu/NXYJVhR478/iWWve8yuQYk13varoFiYAtXqkE0V5lHvOATJdathqJQFU3a KHKpGFp6NbR98CmA/jGkprWwzJbFWQBeOpHzvAxJtHSo1qhNP6jbHp8u0ZcELdncRK+4 DyZeCc+jBri5HdOhfUphde0UesDBR7B4LLWyFj5B3mzYE30VjFy7M7JnpIshw2xF6hFo vy1xUCzIO6tdB5HxP0VC8byUxzv2H4GJg4O5b0xY4HNdWpvrhwBMImLny6WRacd/C86L tS7fkp44JczgtiyMCLwrB7KbENZ4MtZoVjVpnzAQk8gGVqBUwKmUH8R0KQ+wnP1Jm6Dd XOpg== X-Forwarded-Encrypted: i=1; AKwUvBxSAts0h37dYbBM7nB2O8yOJfA6ciD4Sxy61SHQKNmTT+L7vhdoTlHB9vB+0nPOCQ5YyhpsSAudmzwhL4oS6g==@lists.infradead.org X-Gm-Message-State: AFq9FYJICpVKUdYe00MJpoAg/lk2PTGtNiwoE9a5mH8Q0eAHCXHpvGAI 74YXhrknX0uvb7Krx7HkXfva7rIhFOSBvKql1pC2zwmpsRP9Fw4FnUON X-Gm-Gg: AYBFou0250oQN0ggAyTJ76UWL/s2/jCutRlWKablVDP1ktG5/GCyEB68MbAtK0rd/s7 2f4zRuULMIn066YnA57h3H+Cjz9gLF9LX5x23+WobrrJHagwRil9fq3YOmToz1AKKgQuYwttCX/ BoUQn+EXdSFAHfxzgVkAkUYI+VM3IcsJ9waTDE8K8J6pytjT52zbMy3znflIp5QVvgTT4zGBEQ1 W6ZevSl40bRx0zom2arsAYfYm7Wm+GcxpZEbSOSdeFlvYfx/EDqCTBL90/C0Sfo3J0P8xxBe7Uh 4z+JJYK74MX0Yo0z8ppHBZR8GhhwqHTVh3BGpaaDSoT7G45Kg9DaSaSpsBi4iwj5MhHOVxFnhFP x/6JMBfrIvH7Xr4SxGM1A/zZeRPjNm+ol/i/+6QDnaHoMzbDrB4h9ccxxuYXIxtnnR34wdPQhwP pVQsMLsTGjcq5rZyvmojVR3ECgNUFmr6n0AphrJU/36sCKPczUrQ1TfWeX1BRXDI30y1jTH0CRr Be/wn6DeFJMp50LMES/rW++RLUtPr1LScxPWvqS1DXjGMfn17fyqQEd8FtaBpGDMkRnOwM4La2g i75UDz+dg6S/9Q== X-Received: by 2002:a17:902:e54e:b0:2e8:3b2d:c0e1 with SMTP id d9443c01a7336-2e977597291mr13010325ad.41.1792123897928; Thu, 15 Oct 2026 21:11:37 -0700 (PDT) Received: from phuc-desktop.. ([183.91.15.56]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2e97e8ab443sm3815785ad.65.2026.10.15.21.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:11:37 -0700 (PDT) From: phucduc.bui@gmail.com To: Vijendar Mukunda , Venkata Prasad Potturu , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , povik+lin@cutebit.org, Claudiu Beznea , Andrei Simion , Nicolas Ferre , Alexandre Belloni , David Rhodes , Richard Fitzgerald , Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Cezary Rojewski , Peter Ujfalusi , Bard Liao , Kai Vehmanen , Pierre-Louis Bossart , Kuninori Morimoto , Geert Uytterhoeven , Magnus Damm , Biju Das , Lad Prabhakar , Heiko Stuebner Subject: [PATCH 07/11] ASoC: renesas: msiof: Explain component open return value handling Date: Fri, 16 Oct 2026 11:09:42 +0700 Message-ID: <20261016040946.521195-8-phucduc.bui@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261016040946.521195-1-phucduc.bui@gmail.com> References: <20261016040946.521195-1-phucduc.bui@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261015_211139_062084_D554BED3 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: imx@lists.linux.dev, wangdicheng , Kees Cook , Sang-Heon Jeon , Pengpeng Hou , Bo Shen , Neo Chang , linux-rockchip@lists.infradead.org, bui duc phuc , Chris Bainbridge , Charles Keepax , linux-sound@vger.kernel.org, u.kleine-koenig@baylibre.com, Zain Aboobacker , Bjorn Helgaas , Md Shofiqul Islam , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , patches@opensource.cirrus.com, Linus Walleij , linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Vinod Koul , asahi@lists.linux.dev, Hemanth Selam , linuxppc-dev@lists.ozlabs.org, Syed Saba Kareem Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: bui duc phuc Add a comment explaining why .open() must return 0 on success to ensure the component is correctly marked as opened and prevent future changes from reintroducing the issue. Acked-by: Kuninori Morimoto Signed-off-by: bui duc phuc --- sound/soc/renesas/fsi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/renesas/fsi.c b/sound/soc/renesas/fsi.c index 88618e4b052d..74e2ea002fbb 100644 --- a/sound/soc/renesas/fsi.c +++ b/sound/soc/renesas/fsi.c @@ -1820,6 +1820,11 @@ static int fsi_pcm_open(struct snd_soc_component *component, if (ret < 0) return ret; + /* + * ASoC only marks the component as opened when .open() returns 0. + * Since snd_pcm_hw_constraint_integer() may return 1, explicitly + * return 0 to ensure the component is correctly marked as opened. + */ return 0; } -- 2.43.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip