Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2995915ybt; Mon, 29 Jun 2020 12:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv6tIHAJB3cJV6wEJ/hJ0S7M77pMHHl/jKzU34uxrJDwecdusmi0+QlJKe4U8Q1ttQqL8Q X-Received: by 2002:a50:9dc8:: with SMTP id l8mr19114980edk.248.1593458706917; Mon, 29 Jun 2020 12:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593458706; cv=none; d=google.com; s=arc-20160816; b=q0pilpLtqT2m5EGAbsfo+pAS0DLPMsOobJUeogf1o/VU4KUrWhmuNXmZ6aRm8YjII7 GEfWIKzSk9KUXTU2RKfI/jcZvXzFD6gyIUu6vgeGStFvXrVBIO8u5X0nxchBEAyoOxm8 zac7rFz3Gktoo/Ent4nz+5f0tmpfcgN6bjMULtgxWd61lxF+3+fnz1rbfrlMdB/aNBWi vdFv0ti1kr1Pwju8LoMRpuAX86BeJZza7rIpLiB60M6roQ82s8JBJ1rom2otpn1c19iA t34jRo/J+yNY1PMOkmYr58/Y3iHU1KNwIWzQ20dgqZZndK/no42HOEOu3AqCaEg4M5NO 1Abw== 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=9dKxVJjlaX8jxkeSh8T6e6YHQEcdayiIxfyFI+zqbOE=; b=AiYuW9Wo/m0tjonEKxCMdN3KsvCfKVErCPCE99IJR1SUaR/KRv3tEyUs9AEQ3+Kqh+ FB0P1CrLFwR6HNEGbTiEcZDL8olrCc99iBHcz1q9eHX96TMK4Fcl5CIHx3uKfAQmRjhk QUTvy5aCNqIb5ALxrP8R4YOH8aa/BlvFaR/qko/ebcPzqenWPHi35nk0NwGJyP6s5b2A +WaurtqkQTt4/FfvQ3GZxdA/lMw5zbn7ceWQuftY3EI8D2V5GM2ORdCWQzrE/qBe7SHc 1doTlpknV/pGx5uGg7OFXA5YAu2nx/tAPaS7D63vg5dM8WlKD/3iPsvuitcuCqaMTy+Y kl/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rJockAN7; 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 m4si358469ejo.514.2020.06.29.12.24.43; Mon, 29 Jun 2020 12:25:06 -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=rJockAN7; 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 S1727102AbgF2TYk (ORCPT + 99 others); Mon, 29 Jun 2020 15:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729535AbgF2TYi (ORCPT ); Mon, 29 Jun 2020 15:24:38 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E473C061755 for ; Mon, 29 Jun 2020 12:24:38 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id k71so4952713pje.0 for ; Mon, 29 Jun 2020 12:24:38 -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=9dKxVJjlaX8jxkeSh8T6e6YHQEcdayiIxfyFI+zqbOE=; b=rJockAN73JAGXobfkev1y93WYQunULGBKvkHTFKad7D/eGF6tMmDd+MraUFMuEk8ni uXbBn82EgTam3bfIUAMR/28dBeHDZ2Ju1ZhDVGhwDN9bLMd5ab7IeRqJMfACaETguWjG ydJZCKge5IZiRZi904cCLfh2TZuu6KY7ZhfNqBlHwNWPwI9tE1If8SAcbqLmottXPj2z dUzUTfjA2PoZRb1dYCcN7cbsFQ9P9PZ563y0ZDe94rzLrXbX9u3EhaD2a4MOmnplChLU xAtkHqY2Rt2UHA/D4yO4QtII2iv+pNwVnQmpL1QrBEoRA9UAfEiXm+JN7Dmtiu4oV4ev 944A== 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=9dKxVJjlaX8jxkeSh8T6e6YHQEcdayiIxfyFI+zqbOE=; b=sQTJ38fZgBce9wbEWaEuSSz1dtWPZy7narGf0BnIrKBiFtmEd/45vnA0iCE8x5DuZV o94eEXW1YiRpcHDhQZGzJJXdo7BMJ1InnYmYGAFOnSzHCSVaqo0zbTpOtixXfTTiO0y4 Z8n6D53MoPYQhkMyzEiLh6TMfN8fyQxVIxAqdOH14JvCbO6Jw/LQRUy2peq3XKL2UiNb e+1XI/x5uUngbq7JQydnK6fDaefiT6thHjMn1TeXkE/CsQlCU13l5P9HVhEYuehUnexY AR1xwzuS4dUW6Y0MSvisg8IpPRkl8hcDfoDavNvH0uNfeobK0AtnqBr72MHbEJqJpEHt 4SCQ== X-Gm-Message-State: AOAM530OR6Bry4zhJ2nxNkzRMrz28I8XsnADOj8SqOBB0+SDQh6YPrqI kcfBOkbjYhAe+jieNjifxs0= X-Received: by 2002:a17:90b:698:: with SMTP id m24mr4120032pjz.15.1593458677861; Mon, 29 Jun 2020 12:24:37 -0700 (PDT) Received: from Asurada-Nvidia (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id y8sm278658pju.49.2020.06.29.12.24.37 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jun 2020 12:24:37 -0700 (PDT) Date: Mon, 29 Jun 2020 12:24:03 -0700 From: Nicolin Chen To: Shengjiu Wang Cc: timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: fsl_sai: Refine regcache usage with pm runtime Message-ID: <20200629192402.GA27967@Asurada-Nvidia> References: <1593412953-10897-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: <1593412953-10897-1-git-send-email-shengjiu.wang@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 29, 2020 at 02:42:33PM +0800, Shengjiu Wang wrote: > When there is dedicated power domain bound with device, after probing > the power will be disabled, then registers are not accessible in > fsl_sai_dai_probe(), so regcache only need to be enabled in end of > probe() and regcache_mark_dirty should be moved to pm runtime resume > callback function. > > Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen