Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp520115ybg; Wed, 3 Jun 2020 06:54:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIHxUS6dhI8tBE2VwY09vT5vjVyxGtxuc49sdB2Io84qQwoGJ0hWaEHeHr2GcCiHghAwjH X-Received: by 2002:a05:6402:a49:: with SMTP id bt9mr31037304edb.300.1591192466282; Wed, 03 Jun 2020 06:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591192466; cv=none; d=google.com; s=arc-20160816; b=qQ9uLou3zjsuhpQrFmyaxPUDfqDwKno4lk0CbM1nD0fGVWsNPcqAP9X9DftF2F9K6V GCy+bs5hrLpIllx6RG5R0VGukhnPUmwKMMNvhn7jNyb0dDz8b1tjlDUNYCD4Bi6D0SiG RiOyMpZj3+ZIFg4UQfICFpny1HS5e1JIKpmKu28wVFKXZQravgwMfjCgqfbjmzgXiXHz ZV7MRgLajfAF/KzVAxazmhn9rGtbPqD+YXNsZiewY4R0tK0jf/ZauAaidfq8uK93eQZx cvv5xuHr/l8XirPsVS8awPUDkpSByKQtXePfd3QIn5VK/NSifyT4bYQTPV23wG1/SooD IvdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=jwnn3BpiVJ43Pjm9A4aConW48lY8yM/F4kKqerAKBTc=; b=oIlgN6bXo9YRBbhUZqYOffANpUlowb5k4EkVMTrcRbmEK26DmwkbhZmubepXYXYCfy ETic23EqgDfLXQdV3TMMLKUs+6rh23DYz7n9gh9igoepPg8AtUyb6h8TSF3W9PYO9S62 9guGYSfXaW6QCXDkvA6V1aJmtWqVHPbNWqCdnlAnMEgf0tGsHeRd6VMLhKo3yjchzoJK fBKq+iJgHGeD1I8L5Tl4HiI5LbvS2Nj7zrpxLJT9k/ZurCsQKENhNk9Fp55wkkfpMu8b aq3Wpj8DcCvLt6bQBhcH/TlafK6Mt58nwO1W60ATPR8Bh43ldkctSx7e494AZae4EILt vcdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LhGZIho9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si1170262edo.315.2020.06.03.06.54.02; Wed, 03 Jun 2020 06:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LhGZIho9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726015AbgFCNuW (ORCPT + 99 others); Wed, 3 Jun 2020 09:50:22 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:28327 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725882AbgFCNuW (ORCPT ); Wed, 3 Jun 2020 09:50:22 -0400 X-UUID: f02de469bbed45d2965093fe4b35b54b-20200603 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=jwnn3BpiVJ43Pjm9A4aConW48lY8yM/F4kKqerAKBTc=; b=LhGZIho9jN0hDjOABgQ8qTYDj9w5Iyvxpas89RSIL8YaBplgybUe38w+Wtt1TMK4LRXLjE7c7IKX9Fnqwd2Sou1EHmdf05KEUSNlIdlIgiHncoMYI/aRlVufxEX8pH0aVYaMquBjDMt+fH5zix3Ue4Q0zNXiLA5JhD8jJshexIA=; X-UUID: f02de469bbed45d2965093fe4b35b54b-20200603 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 201727731; Wed, 03 Jun 2020 21:50:18 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Jun 2020 21:50:13 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 3 Jun 2020 21:50:12 +0800 Message-ID: <1591192216.23525.72.camel@mtkswgap22> Subject: Re: [PATCH] sound: usb: pcm: fix incorrect power state when playing sound after PM_AUTO suspend From: Macpaul Lin To: Takashi Iwai CC: , Mediatek WSD Upstream , , , Johan Hovold , Takashi Iwai , Hui Wang , Alexander Tsoy , , Greg Kroah-Hartman , Matthias Brugger , Macpaul Lin , Jaroslav Kysela , Szabolcs =?UTF-8?Q?Sz=C5=91ke?= , , Date: Wed, 3 Jun 2020 21:50:16 +0800 In-Reply-To: References: <1591153515.23525.50.camel@mtkswgap22> <1591187964.23525.61.camel@mtkswgap22> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 1B7292D25D0CC9D9E834BBB7EEEB79C45CDBB9BDCEBA293A96ABF504C88603DA2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTA2LTAzIGF0IDE0O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