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 E87E6CC6B38 for ; Fri, 16 Oct 2026 04:11:29 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4j5Whw4Q9sz2yPq; Fri, 16 Oct 2026 15:11:28 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::62a" ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123888; cv=none; b=FgSDgvPie/f+nh0aVjPek4KCR62PXuZPEprmWVmX2EJg/PkSJUE4BQ0i0pzK17loP0U86043xMs6vmW475PBe/i3ZEeQSfKIaNsBMuYnss3px4UYxyuI58pSTysr1/X+fUNykWkfo3vr+qliAdZd2CcW+ChB8mC2ALKNLmkcQJ2X7XXkAgL+ZwYgmmRGKugJmvxwOGNUSZ6/Pos21rcot8GGQh74nmgGo/bDuzf3fY0MwU6/s9M7cQna+mXyYyaBcJ5DMqP/YjfRAVETRFsm5/DmdRvZYi2S6xYrPJmWCoJQL1kqUNjDZtOCd3qRAcVullRqzrqd5Gz/6HL/T8xNIA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1792123888; c=relaxed/relaxed; bh=dFZz4n9YWSVULVEw1Vk7UW4bxuXJ2XFPuy179wpDhwk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d7DGuALpH6wkdKiIt/HPjXSMDWB21ntaI5Jc6QAUP8Ddmo5apJUsZ5/xTZ22mE+ntFrx10W+LkHOjXoYR07p+5bpQU6LMo2F0O9d1LNAvz/zbhh+zMediGOHYVXVK3CiL8QgeT/TAkSC/cmwhiGssXMXoymUw+7clVF5ip6SdvQUW6Y7ORToNAuJ5gFQ/TvxN4gefe8vOYWyXpU6Wp8Lh4RaLn7kjbKae9Sfpw3EpKdsEJP+fSy73k+DqsJDj0Y37Mq38XqcWy8ipvXpw81nOA3iHgcBi5XJGo74M5bfQNtgLI6J9JxOACIsAUvvoVqcZJqFnIa9Y6qf31y0HoMlQQ== 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=gqprttnw; dkim-atps=neutral; spf=pass (client-ip=2607:f8b0:4864:20::62a; helo=mail-pl1-x62a.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=gqprttnw; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62a; helo=mail-pl1-x62a.google.com; envelope-from=phucduc.bui@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 4j5Whw06mfz2yMK for ; Fri, 16 Oct 2026 15:11:27 +1100 (AEDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2db80fcdf8bso35128625ad.2 for ; Thu, 15 Oct 2026 21:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123886; x=1792728686; 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=dFZz4n9YWSVULVEw1Vk7UW4bxuXJ2XFPuy179wpDhwk=; b=gqprttnwhfKcC4iLLekhKj8oqbzYhdBSZoP/g7HRv/9AsVZLs/PksCWWDOIGIZtcWs QSZ1ZxMv1UVNrEqQiRs6Za5XxnmFVhEEG1oJW07AKwc20cd2XJaOrs0BK9XFfURs2Gl5 xOSga9e+Hkv+rq2WtGVYTkjmUWs1a0KBpui5ApD5XqIO5dfj4+vsK+HZBxjsSRhrSL/g eUhvpBqriCQi28AEMu8f99NcGiHNQrS+blBja+u0VLxiOjmfqbyBUHxGiJASpHsrAnKu P1avlrKQMYVOfN5AB4UlQdSeXWkhBpYFBU+Y3F8Fp2HH5Q/fP6esZdza2FDvktnA2H2X dQ1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123886; x=1792728686; 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=dFZz4n9YWSVULVEw1Vk7UW4bxuXJ2XFPuy179wpDhwk=; b=XMWUlcQQ7I0MH4JC1Bcgqb3IQD+/cRUJgDwlRyE9tlyyt0u2ul/EDzpYsnMGqFjiXi 58WeiSMQHU73w46tYGPJWzT2acEgc6YQAPcVqzDTt5k3Jjs+tMJ8cEa4ZuxwZn/2LJ6t 5VawFz9eJerO6A34aFyksFHfTulfCsGLYduQx/rP84/cD2u4dx7w3LuWOCJGdy8lGqbZ +B8LYi6RwgzZm9qjAp0BV+K4uFSVUtUFJcCoiYwE7F0UYBvfxGMVdGR6uZNWW+tbyoxq Vx9d/sv6hGVX1T3M2TqofZxCeFyOrKWLFKePkL2lf2gbz2XFEIRtgFVG54w9zbKtdPx3 LY6A== X-Forwarded-Encrypted: i=1; AKwUvBwO20fYxf5A0Hoi1gdaUtwfKbe4knfw+zOssxR5Xl/67s1Nu/LChKctz13FvgTzB2wsHPYJk2E4pSe+U4E=@lists.ozlabs.org X-Gm-Message-State: AFq9FYIFILv7I3KPKY/mL6opKGYKUeUcrMkq2/H0fQOHXlAW3Jm9doOu RFoFnryPV2Rs7PWvjkxsP9MEhS83d/x69378sX4YLZNz8CRHju83I+KZ X-Gm-Gg: AYBFou3xuHMvOtkEkgXrFJqVl9tC92CPMAEXqiXKCwXci+k49PNyte9du4Cyr9Qrxa/ Aaflclo1LgRHHk1XrvXON5JfwgrnFutim+XfJ6lz9erZvjlAD1pYBVYURgTNO0MKNIECdYQlxH/ 1zGhXuSBLW3BjEahrdBv5++TwwyNkqjEL66OyJTVIzc1kRrc5zJoscDaXMmWs22/OpcT8eyxfKL Z+mvoSf58Itar++6hkar4QBO+0KZthgtpvccduf3ZGdCOM7qEdTsQveU4A5fg4HF2HtCKnrtz5k Kou6hbPnAg1C1i4S1hxWYRUYJ6DLXxPUuiSOC4qMdND9akiR5ytJ9sK/xs2K3ZEdCzS0tZyMY+F t4pYa6dX6SMk0NN2lkWbq+g+3wo0TKEW1wiyELs2j+C6KO/0vBP99BdqwZi0VEiK+xsgMqWR48Y JLVwSktb1KIbzHFhlzHyR+c0euS59y/niGhI2ocGGTF16jNUBrIrpQirUgV0p2Fw/k9B1pBd6fA E8YUWaqVjHjtHasNdq8wkuu/KNer2aze+9AFkSuKc0iTFRNiSf1wUqtkacNRXy91sqgEa++sWwN ssjtBHqdcQQ2ow== X-Received: by 2002:a17:902:ebca:b0:2e9:401f:f0f4 with SMTP id d9443c01a7336-2e9401ffb38mr56691775ad.16.1792123885664; Thu, 15 Oct 2026 21:11:25 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:11:25 -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 06/11] ASoC: intel: atom: Explain DAI startup return value handling Date: Fri, 16 Oct 2026 11:09:41 +0700 Message-ID: <20261016040946.521195-7-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 .startup() must return 0 on success to ensure proper rollback handling and prevent future changes from reintroducing the issue. Acked-by: Cezary Rojewski Signed-off-by: bui duc phuc --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c index db1fb3b26909..58681e007abf 100644 --- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c @@ -341,6 +341,11 @@ static int sst_media_open(struct snd_pcm_substream *substream, stream = NULL; + /* + * ASoC only marks the DAI as started when .startup() returns 0. + * Since snd_pcm_hw_constraint_integer() may return 1, explicitly + * return 0 to ensure .shutdown() is not skipped on rollback. + */ 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 6A56DCC6B38 for ; Fri, 16 Oct 2026 04:11:35 +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=WuhyK7C/Dq0UySnW6b4AyVhe5/Q/Z6W0oNpZvsuXu1A=; b=vxPm/5C429R8iU M3LRQwxqm2s8HJA9TcwI0z/cIpN6xXDiULDTR6EQ/RBs3lU82gzrxLabcXMXMXwJDjpHyDdEs+j50 EKsdPeKvpQhU2MNkaTXz9YNcoDl+aIOx39Ykm/NFATDkmI52nVWqOWEZCBcnxEqzLxUFrhG1E82IM 07ui1zAlgVSaDWnprOk3SqVPfLh2CXxB0azmlBe759ctauna/EOJ/77NWHzC0SqDmg0XasYi07XKd si94Yid7k17bPvFzKQgkA+fk3BlunuY0EMzCyfKHvL2Y5nB8xx9w+oNTMVoRcq47fo5+eVG3eCueF e6MaoTnkVuH9AfU4LIEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZI1-00000001wr7-1xwR; Fri, 16 Oct 2026 04:11:29 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xHZHy-00000001wq3-1odc for linux-rockchip@lists.infradead.org; Fri, 16 Oct 2026 04:11:27 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-2db80fcdf8bso35128635ad.2 for ; Thu, 15 Oct 2026 21:11:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792123886; x=1792728686; 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=dFZz4n9YWSVULVEw1Vk7UW4bxuXJ2XFPuy179wpDhwk=; b=SGCRHjLQaOE0zBt8JmRKKiQF5GliHmatOfJ7Idk/79HjNJIWCQcKw1oQt7RjnDyRCJ nk/J8jgtIRReTdNP7uRtZ6b/0eowT2n+V8QCfpYT3AIrivPvObbLzFzaRZbNa2VD1NA4 LBeuLiWO3GP3oA3T9L1kK9Jh7aPpaljI3/d3quD9T+Dl9pVgtTU6egtHATuSrg/Q0bys w8BwDqGXB46WgWMRgDILozYnKoLZKkEXX01CroYNlGhccrNBKZ6kL5KtzFCP+saMeTpx CmUuHWIVW+WHazuBO6Wr4t73sHJoZ5neTJ07YQ8jXVazh+AE/KwT6pIA14ttZC2tXArI 9qyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792123886; x=1792728686; 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=dFZz4n9YWSVULVEw1Vk7UW4bxuXJ2XFPuy179wpDhwk=; b=EOAkBj88H8ysTHfUNr2M8LP4a1K0MFMTlRIcXmgolkfF85YL0I1BiJFjL3uT9gYCfW p8qsZvMF6CrzKvU9CewLO3bcx8XJ88aTuVbpNNXphsVEga0HH1ZsYnMx5ZvslH8Lm3l7 TD20QYKgQ3D1IG9/gzXiFUumV1U+D0vYDEoDRFFOqIdMRSchH7w7LcghiblCm3fiT5gY od7o6goVV9GHqZ7bGy6rfTnLFlIfomVwlZaSqpd4Hrm2HBl+nhX0Wqa2RN3rFGVZrsUf dML9eF4TslvOrETvTjd5jafCWfF5LPbMaS/w8T6PMt8hwdHFJ09hSwtJzknURciVDnAl lRmw== X-Forwarded-Encrypted: i=1; AKwUvBwbEy4Ut3hXXOg+xCTaCCEBQTESIHEX8Zd71SlJZN1CzqZ/PIHZPSYmQ6LPL4c37PGNDhnTo7m8TY4vZgouEg==@lists.infradead.org X-Gm-Message-State: AFq9FYJGOkROmYB2Kt2s6xZNN+AwCsK+03hZwJaHsUjJbALm0QLdOIJ9 /mSJdS5PA/D4b6e1TKWuMqPOXcbTrQw+FTK7IhaszKYyw618sceJRbiZ X-Gm-Gg: AYBFou0iFwWclFEHf5dc7OreC4vGo5GqoFrykinLiF86m7FyO3wHOmLCuKcsz+p48oD Sy+6RwUT8HMAD6so+KLW+o33NbUCdm67JdBbZb/VbOI/wxlAPrmMhoi6Qy+ZNvbTL1wcQf0HNJx B8HZ5p6tsv5tTS9SxzVj2HKNACCrOW0buUnWt6hcIZxpWMZHIa7LwBtNoikYlKdtZYXnYiWBAe8 pUGAhN3KUdKbzDsPBQVzHdwZR0Bt6R5HtXhtFmAw6ISaLhMuoH2smSpoT7GxZKmPPqADLX9iIRW PNmN6bTsqJT7InV1Jx1FdaRjykybZhu7Y6wE5Y3/zud1A/fKCaCjxxxOcIF/qMafKT42biCEL4G rtEoPC/1P1cIcFBiH0x8KPxnQUE8xboW8vEnlajl3pgU7NEBa0u4kCYJSS97/h86E2fmkEm59vu YtA3oAssm086Bi4WgZeQrlbqt5La/+SxFo4WO79iVt7jb0rNejlzlxMJ44J0gCTFvTw5DuDVPse x+zxAlBnTcqHpe09mxjCo40ybgiAGq1kPL33ENaD0GxiS85ZlZ/tsCyO1a7oZovTJn5hOCEpdbO rN4d7/X24ST7qw== X-Received: by 2002:a17:902:ebca:b0:2e9:401f:f0f4 with SMTP id d9443c01a7336-2e9401ffb38mr56691775ad.16.1792123885664; Thu, 15 Oct 2026 21:11:25 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 21:11:25 -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 06/11] ASoC: intel: atom: Explain DAI startup return value handling Date: Fri, 16 Oct 2026 11:09:41 +0700 Message-ID: <20261016040946.521195-7-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_211126_476892_2CA0E55C X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. 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 .startup() must return 0 on success to ensure proper rollback handling and prevent future changes from reintroducing the issue. Acked-by: Cezary Rojewski Signed-off-by: bui duc phuc --- sound/soc/intel/atom/sst-mfld-platform-pcm.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/intel/atom/sst-mfld-platform-pcm.c b/sound/soc/intel/atom/sst-mfld-platform-pcm.c index db1fb3b26909..58681e007abf 100644 --- a/sound/soc/intel/atom/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/atom/sst-mfld-platform-pcm.c @@ -341,6 +341,11 @@ static int sst_media_open(struct snd_pcm_substream *substream, stream = NULL; + /* + * ASoC only marks the DAI as started when .startup() returns 0. + * Since snd_pcm_hw_constraint_integer() may return 1, explicitly + * return 0 to ensure .shutdown() is not skipped on rollback. + */ return 0; } -- 2.43.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip