Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1184021ybs; Mon, 25 May 2020 09:08:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJza59RmUsuH1aCUQ/poQoEbv87Cwcz8BNmWzgbb/Kg1bK1RgkX5YLDUSXL23QlqbPOnSc1f X-Received: by 2002:a17:906:4dc3:: with SMTP id f3mr18949355ejw.323.1590422938014; Mon, 25 May 2020 09:08:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590422938; cv=none; d=google.com; s=arc-20160816; b=XRcYu1WolHER08c+e4zYifJAm3aqgMxpMoWhYintbfQEy3eAEYMxalAanL4/0JZRsI SIWZf+Bt+GCObyRa7lZl57LPqBW6Z+ff5izvryBrbmITn9LPI7YVW+EK1S04feGNRzb2 j4BXKSSeYBRk5W8cHSs5+MlqIrUKQXAm+kxEaYUFk5DztdwixXp6eTmxz0oeLg838gLj zskTjIL+aPfsNQ6Y8eY0118q7/wjmIQRfbSY1UCOby0+zZridfPJQ74eD2jMBTXCJybl dY5n9j2OxXJR8StubUmKZneD+FIHQHWuyEsZWNDRv3BhCuvbjoVY4iJrbIutIrZ9c3+0 x54Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1y4ds9zBC1SyppOslu2mLkxYcNHMS7bdeKWM7VoLVJM=; b=Zuf+tD1O0Z6Z65Uplz+53mfMmivg+cipt+9I6eU7XP+3b7AxNSusS1hDgBXakVZov9 gebjYCtEMjtYlbD1z7kq77YF18ouQ7AvB9FPF6Jy0CUlpOvqVypGIFXKG6152OwUfjS9 vODvGrjktf34RellQSWIPPuleHoHTBu1qZ3gBqTohZqyIkRxwC7js4cTlrH/xrRV+zS8 5Nb+kDA0pw7r54gxzSWoa4e1OfOR7ZpHv4ZrgBMNKFggkXItSfkLvZQxn2jlj0t1wf8g SmVS+7UALbR5qzeMS3HBh4JfCbMBJXXjetjHmFr7STPym7HnafobwlswfV3NNO+ocHI5 2ikw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ri27KJ57; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si10205181ejo.520.2020.05.25.09.08.35; Mon, 25 May 2020 09:08:57 -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=@gmail.com header.s=20161025 header.b=Ri27KJ57; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730643AbgEYGQy (ORCPT + 99 others); Mon, 25 May 2020 02:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729985AbgEYGQx (ORCPT ); Mon, 25 May 2020 02:16:53 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59349C061A0E for ; Sun, 24 May 2020 23:16:53 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id t8so6029788pju.3 for ; Sun, 24 May 2020 23:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1y4ds9zBC1SyppOslu2mLkxYcNHMS7bdeKWM7VoLVJM=; b=Ri27KJ57iDhs85zxL0RpQLEdYtlE2a3/aJma/2msgokrz+N411A+WrgmoubU77/pCl Yd8CtuzMQQZ9st9XfemTdl/UDK+Lg2y2aV0zsjqMoJbjiy2dgh2mSgMc1BI/S/ykes3y bnjRyoMAbybFPqi2XL/PoLK3RGacV1GBBnvZHLEElv8DAIpwmdKS2xMwU+uXmaZxKxrp azXyJBvjfpmt1G9WrzH6mgCWYVkGn6owSOkeU5ce18CWs9iujmuSPAWRB+XiD1xovLrk R+eCt1fDZtETLygzNUbhw8jyvId4OqGNVsZlEzfcx4PmA/PrHURT1ZljgOWcDxpndrWw FjqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=1y4ds9zBC1SyppOslu2mLkxYcNHMS7bdeKWM7VoLVJM=; b=j/2y4D3msYJT7JxdtW8sPGc2TjCBiZU1SD6xclodyedqLlcGg/8zWw+eN0+egxy2Xg hLN9m9kGQzfTa8b9D0G0HqQTc3bVG2kBc+Sjt2LOgDOeaZ13YQoQX30nGSPen55um6bZ t65+03Y/7WFcdiaxlhtyicOAGMs5F6HIbBKrOBcI0x8SU0Bx7kF3sPoW01I4jw1LMRkc 08TZmErTITP1Xx11VrzU5o86np5xu7xhqRpDm59E/iefmTFY6iWtnvMbYl1ToANfhXIz s6GLFOPyeu4WS6Bd663cnBo51YqgOi/S+8mxkP+I8g6qZkR2jT0jP8U+S2IerPHEM7Ne remQ== X-Gm-Message-State: AOAM531NZepTwrwBM7ql8hZggIT73iAKvljgjuSCfgJ4TomqCmfXQUJI R2TMqTTC0UTGRsnVAJyG06g= X-Received: by 2002:a17:902:7787:: with SMTP id o7mr20963332pll.52.1590387412768; Sun, 24 May 2020 23:16:52 -0700 (PDT) Received: from Asurada (c-73-162-191-63.hsd1.ca.comcast.net. [73.162.191.63]) by smtp.gmail.com with ESMTPSA id o16sm3623730pgg.57.2020.05.24.23.16.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 May 2020 23:16:52 -0700 (PDT) Date: Sun, 24 May 2020 23:16:46 -0700 From: Nicolin Chen To: Shengjiu Wang Cc: timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: fsl_asrc: Merge suspend/resume function to runtime_suspend/resume Message-ID: <20200525061645.GA12112@Asurada> References: <1590141444-28668-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1590141444-28668-1-git-send-email-shengjiu.wang@nxp.com> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 22, 2020 at 05:57:24PM +0800, Shengjiu Wang wrote: > With dedicated power domain for asrc, power can be disabled after > probe and pm runtime suspend, then the value of all registers need to > be restored in pm runtime resume. So we can merge suspend/resume function > to runtime_suspend/resume function and enable regcache only in end of > probe. > > Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen