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 103E9CC6B2D for ; Fri, 16 Oct 2026 04:12:07 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4j5Wjd4TdMz2yQl; Fri, 16 Oct 2026 15:12:05 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::633" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123925; cv=none; b=P2LPqKnD2NDQsarLFo+TErooc9oGGBXq6alUkqswIjai5WsqlsvsN31ZkDKdrTrYLtw7k4gM9xKK5HXNBiPKxmm7Um19NKnf51KMIh9HQ7ez6ZsDJmFwM27IdY34Q8EkaG/aym4g3wqyFUWVF+ABRi0ZDd38AS6Zt3KAXMkV2a0cEX3C5YfEY0KQhSlHrIMxJYvwRLOHomWwQFbeMo266l7jPp0A84Vg4nlH6GNxr8dWTEIiBL27LyYFqxOszm1jdQOKwJPRyQN0zJaA2PSIiNQYQCCuJMwjKnTk8SzK56F7k22efeniNEc3T5ziLAHs3BkM966TMAx6r6Ze6++48Q== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123925; c=relaxed/relaxed; bh=7rWy1nSOU2shSy9HWS2JIxQi3sc/L3puAcABYmBjXjQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AuRd9dSnQeOrfQ7J+N5Kb0iv/3QrUfiQufL+E8vqS+/faNUmjO5nS9f4QcC2l035+TJZeMsXoOXKvxwipBHjRXG9ff6Ydq0eZ6NaTJ7jIW6v+vPdHNw9aBKJWdNlVExtecjLTLgrh0pTWowxux8TdrzUp+Ac4oYD90mztkd8gFQWM+bxyXmeveY7U7fSsuwCojTGcCbTMhxF3qyxfuE9rrNzarT32bmLx44hywQtukwiT4t5B5xdFpWdEc3jwkxlTPQHfCJLphh72jRBvCS2euGToluYnjCJ09mYmXErg4aUNLjAHHydtwQVMCxJLckpWag16fyA5ETMrMY2WE9NGg== 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=fnVCJKTL; dkim-atps=neutral; spf=pass (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.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=fnVCJKTL; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=phucduc.bui@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 4j5Wjc6zfyz2xNC for ; Fri, 16 Oct 2026 15:12:04 +1100 (AEDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2e96502e447so9585275ad.1 for ; Thu, 15 Oct 2026 21:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123922; x=1792728722; 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=7rWy1nSOU2shSy9HWS2JIxQi3sc/L3puAcABYmBjXjQ=; b=fnVCJKTLCmDwCiYgAdubP73BXaPUGKptMy+R1iQ7RZyCacDa0pu348xTZS3NIUBg6U Pl6Q2BQ7+G/ctmjTYvdnOEI8PHXMTWGhF1n2QJ3FOEvkFEO2TXqN+brqCUoa57SNBsmH sZKxgFFAZhqiSD8+ywL44y/lOrHw7b8UkG0NTFxQ/W8IjQZ9y9geOYfSxihRPhbf+ybK P1YNTFbpSjrqjZ/DfFgL4haX8qa5WZAfxHkwA9lCNILf+E7VVtrCPykVXoY9m01XjOvz KkOPW9+MUn94OfSs1ThPpZIefZjKvuU/INo5QTerbMGDc3GCoLBioUYvwSSEjtdGAQtM AjYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123922; x=1792728722; 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=7rWy1nSOU2shSy9HWS2JIxQi3sc/L3puAcABYmBjXjQ=; b=m/38Cew6lU93oSwkBzO2NfK/0tsRKN86IYqBnoT/28iT/Ed6JlbufIry8OWtqQD5gN FZ8NGWmA9oOTBeToXh6NinRiHVmyiVDoKSYtq1kyxR5a/G4P6qGjlHS31eXU0ZS85RV6 geXHA4w72+fKWnuwM04x6ylrShNLOcCdFXx/FSuwDatGsDFH6dld41hDJJKTeNa9cUAX jfZzK2E/TtX+CeLfJRLs2+8m3SmiSKjs6m7sYDDq7CN0PYmoGa8DsqFQtGGA+21uAs+f QpW5ZQ+6iXETFzynf3Fy++ZSKQ2L6f0H9aN0IvSvNUr/IaNu6nWtlrC+QpVgiKmBWO2r P9+w== X-Forwarded-Encrypted: i=1; AKwUvBw29m7icBSmRduvLddN7tnezdsZSojJqF/YrKAHOfSsjFC7SzO7fyfPOySOiZqoir8T7S+r+UZ2vDvhZPs=@lists.ozlabs.org X-Gm-Message-State: AFq9FYL3rhnNOghwLcfe0m5iIDUkKJf/1ES3pLBBV9hcG0krg0RN18TU 5/kXvIXXnkyyvWRvu2V4m9ot2ZfsGk6CcMAc9nyonucwMEiih2rvtBpn X-Gm-Gg: AYBFou3qyt6I8X9OMrJ3usdXRdKJmgcLlFV3DJc/8KvWAKLDkAYSiYoUH+ZiAzyApf2 8+e5eHaPB2A8CZ2YjRsiYB55tvLwYvnPRmNOHqRLxgYcRuqqvAM30B+nsz4eEFVUMBE/4xvkh6V EBkIB7Fr0VOhvOhqFfOI2f7+3fktctBHS38U6ZuwxmlGQnZm9PVb7avI2oinj6U5MIB3n81LWEA tQBRyiRKDsgIwnRBRbioAvoMzO5D7AJw+iGExFaOBy0HyosFSCekVwmuOhGrgh2wypeN+Oulwbo RidTYDxPVWpeq6Mbh6LFWrh5FBYGyTYMYprSP1q6ew1HEwgRbJdn884IRxEq8sqhcemFbJJ96WN UIt5J28rPbWH+yL9MSHzr/FQnncduA48wyb1v4H+dkOsV1YKNywTxsGIUj91bhVTftqf2un/+TL YdYyjE9GiwrruTTzOuH+col58jotjAMjQJtSLQ3YclcWV69z3k21Pv7sd071AVVSPs5HPaTXld1 yJ/abKEgc+XL0YHmoTPoRTFc8b3rGJtW66uUMtjEkV6at5D7RK5NUMRV2W3HNJzIRBgQzvrwBLl Ki5FuAt6oUP5eQ== X-Received: by 2002:a17:903:4b4c:b0:2e9:66c4:1717 with SMTP id d9443c01a7336-2e966c41865mr35460075ad.61.1792123922489; Thu, 15 Oct 2026 21:12:02 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:12:02 -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 09/11] ASoC: renesas: rz-ssi: Explain component open return value handling Date: Fri, 16 Oct 2026 11:09:44 +0700 Message-ID: <20261016040946.521195-10-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. Signed-off-by: bui duc phuc --- sound/soc/renesas/rz-ssi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/renesas/rz-ssi.c b/sound/soc/renesas/rz-ssi.c index 2e297f721bb6..9f36fe2c16d2 100644 --- a/sound/soc/renesas/rz-ssi.c +++ b/sound/soc/renesas/rz-ssi.c @@ -946,6 +946,11 @@ static int rz_ssi_pcm_open_pio(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 A57FCCCA46C for ; Fri, 16 Oct 2026 04:12:09 +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=8tVDtSvwG7Dyi94Tbchkw83oo+OCJ7vTVVpT+J8JBUY=; b=MAsimr1PtaRzNI 24dSzs5//81Ap7lA6gVv7ph+1Hl2iY0BnNsGdN6O3Q8GztBMzqkvc6t24auIls3wgt54F++iwYIbn 3cVMmwW6DQTD+7MMqmP7fmylXdtq3YzxZJxepeah1CBbT67gztGy6SajMEHbqVkV4XXHd0LG2g8KD diZS9Nu0gaDEGEKeMQlhVmdtDUlz16lnkzXupZXv0VPjxMJEpV31TK0huxifM5rCTFOAAgzHobN2b 24cctzEBPWNqmktcQULP1qKEMWBjRIfXggsbbFCmfQcsaI2rI5vE1DuOGMohrZGA/zdvrMYs6ngn+ oixaFG8WFPVmnvtFv4eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZIb-00000001x2e-0cnu; Fri, 16 Oct 2026 04:12:05 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZIZ-00000001x12-1Msm for linux-rockchip@lists.infradead.org; Fri, 16 Oct 2026 04:12:04 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-2e5d0ee1951so38758015ad.0 for ; Thu, 15 Oct 2026 21:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123922; x=1792728722; 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=7rWy1nSOU2shSy9HWS2JIxQi3sc/L3puAcABYmBjXjQ=; b=WNTSvNAEUQiK0fCWIueh3mh7WZOyFJhSWJMH8lu269rAZOKfPK6Z/IWPcFnZ90y4y7 HxTH+1U1gOM5YiTtWiDvbH3aTHezr0/f/FDXW26yiu7z1p9kGeDnpVxUoABCUB2ncGTj +Lpzf7QSyYuklCt5fXemUARbEkiUxjG/vjveiv9yU30ey01pa9bHuNwc/RsoZShggjrK LAfjGp9DoK27W5PG4HcwB57bysycDSZfT/CEGUBMbZE2xNRvPXKnbeYivWvBeedueD4g E2jxa9a4m+habuPnvB0M0ZEa2xB5nlcHAK9PAYrbG/T/V3QUKr/ft+lJLdj4+XwGGcxe q3Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123922; x=1792728722; 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=7rWy1nSOU2shSy9HWS2JIxQi3sc/L3puAcABYmBjXjQ=; b=ovKp4Tsgq62ia9/BYb/KN2khIxT94xIBx9sNl7X5Pp0wjlDZaNFOhHJNsgDEQJoR/V bgjgJ6AdE9nxfBqbysmCRi0h1BSS/QJ79LrIFrn3UbRll2hNVqXu0dKfX/WqQiIslgUB qewZ/SOuw48fsK7Sz8bV+6ik8Nhk88YLmXAMMpn4pgo+GtMwMagyHa7eJfyTpsoIjlFD Be4Rl05v1OkKhBOkH5Kr6mugR6/HgPgIxJjmjERp22J1AXoaL66ymOqOGZo94uvLsyxp SftBoH3rplEVnEwEvZiXlFz0hFUw83vbgMrs+xzf4+Za5YvMrw+Zs2CqhkCy2qmn+RTG 0GRg== X-Forwarded-Encrypted: i=1; AKwUvBwk9Ckgd8vmwyBzM7yOQFQ+uVA6CIVLsg0Ut7hzyJZajBc5UBMLFQlS8MX9PsuBCO+pimDbbTFj8dShG3BFCQ==@lists.infradead.org X-Gm-Message-State: AFq9FYKQVkb2jkfXhirYpNPVksKbf1XGi7hbHXeYD+qCsCUZo8e2Nm6E LtgOzz8xB7qVzlTqXZbBSlDD4dx9frkh0fCGt2Qg6lkRyZZFhr2qP7Yw X-Gm-Gg: AYBFou0ThRT1e1xNQNsAVM1IGQKsnBrwPhngHxlgOuY0VEqozIPlug3BAqFzqQpDWHE w660RB1dmuglKVs/ALkPBCH++8bUSeRw8IrD4W0V2g3+79kG675AFwb4rx+K2AkFX0QHdD99Wbk lyAL3mG21zYU86nr9H40KInPu5dglGPs8hDlncRqxdTDUw42sp3s8/T01xoVMUUQ5RZBXWzi4Uw cLDSICkyl7ByQN1tY7NfGUqXA6kIq9q/zdEcA3C5oQujiQbWbl2tj6YCN6xJu0QBOodvX1TEqZz LEC1wuj3GDv6db7DUUTB9LGcpDyU0aHYi3mJhEdZItSMxGw5OUvoS1DrHts6tdrEX4SrMrFzKYD BI9k+Qf2WOQ8mz9IoDwCp8/q78imjWIjd1zV7hcae4ML3RCtl4rlO2jtbOEU/nrb34MiWHNAKaB bKv6iLeGizZ84P6ovpYFUNpIseDC9Wqesb5+J3p4ANQ8fHPXbg5A5/i7KYNH3/3L6oHI+ZwjT1c WvtmlOaVtqxKvhqSRdHYFCX6SLhM3EFH/BlQBr4SEOeWGcTaIexWRQEL8/k2RZDps/PW6Dy8K2N jfRj1G4FgDovEg== X-Received: by 2002:a17:903:4b4c:b0:2e9:66c4:1717 with SMTP id d9443c01a7336-2e966c41865mr35460075ad.61.1792123922489; Thu, 15 Oct 2026 21:12:02 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:12:02 -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 09/11] ASoC: renesas: rz-ssi: Explain component open return value handling Date: Fri, 16 Oct 2026 11:09:44 +0700 Message-ID: <20261016040946.521195-10-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_211203_374026_0FAA10CE X-CRM114-Status: GOOD ( 10.28 ) 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. Signed-off-by: bui duc phuc --- sound/soc/renesas/rz-ssi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/renesas/rz-ssi.c b/sound/soc/renesas/rz-ssi.c index 2e297f721bb6..9f36fe2c16d2 100644 --- a/sound/soc/renesas/rz-ssi.c +++ b/sound/soc/renesas/rz-ssi.c @@ -946,6 +946,11 @@ static int rz_ssi_pcm_open_pio(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