Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2810291pxk; Sun, 27 Sep 2020 23:53:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytxH6A7c/RZjWoLZcm8nIYcdO9+/mxWpJcwL2LRV5XoTFWvyzYoC7Ge82CrMnJydriN3CC X-Received: by 2002:a17:906:35d5:: with SMTP id p21mr281483ejb.194.1601275995049; Sun, 27 Sep 2020 23:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601275995; cv=none; d=google.com; s=arc-20160816; b=ar6ElAn8eJNesXKCgMbv/WR1261P3+sq9UDxrHP7k3zhVWARCmCXfn5Oy/gf3SqWg6 VzsyxRuT5kpQFWb4VLY4H4sIt48l4lfRRi7W66nTP8z1mzQiZFYJKu6GstWXIMDqtRIY DKvLMtzba5dWQKIwPaHYfzyt/WJRkjT1qw7kpQ1AQAysbi/2JkkWAZFdrp8Tu6m3fvyE Cxdp0CogrUt4T0h/JvUzDz1dDfzlEMX4Fl1HiYgpl4u7Wv+NdIeQ4ee3l6OmPpAAX37U C7pD15Q47+lPT/S5oWqtfb/Xqlx+3j7cvaXhVwrQlsZc1d8zJpdSpJFhkeCjzNvf7iOl j2sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Ntqouydptx8EcAs52MsJ+JYyq/ezRdVJ636OuWqErjo=; b=XZti+XcT77KGDSSG///F862UDyx3401kqbpwXdIj7udQyzP2DyM0Gl/yITzGeGnUqP ZaKutXEDHBwIxgJWywz5259YDZtdk+aJ9D/6WC7x4Nmeam4W0Agy1YMbdMm95+wFzkkQ iFdLJViXn724QvprSfC3gFwiYo2X3QuZZhWumrUol47NvrO6rICGY7ZdCwkEPyTVWq5K vHz6VPSWUDs7HnNh+wSGul4MzzGgI0IfwxHOgbR92dlQD10ym3JFR04N2Z2K3OaYLfDN 8FSP1py0rXSw2FP31qlReXzjHS6w2IJUwpvON0RMBhOO7IPC86Nm0PqnrZ6UTcynpf3k wXKA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si7039edq.127.2020.09.27.23.52.52; Sun, 27 Sep 2020 23:53:15 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbgI1GvP convert rfc822-to-8bit (ORCPT + 99 others); Mon, 28 Sep 2020 02:51:15 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37773 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbgI1GvP (ORCPT ); Mon, 28 Sep 2020 02:51:15 -0400 Received: by mail-lf1-f65.google.com with SMTP id z19so9815514lfr.4; Sun, 27 Sep 2020 23:51:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XTACXA1Hxtvq1CFGlNEl/z/KQP4lC3PCO/x6XgxWWX8=; b=V7eQwb6LblE8h1JrNXH8/t4NfFGI0br9OrvzsCdmyezqu0rNZBCnmgqDHu/bgpuc6F Q603R+lKWcBkHYtZX54Gh9nJ0ZfSZyRTmZ8XWIGuJkeEuBW4NN2H89J0xqpltdV9y8No D+VPcJcUmYaXYrYWih94236LwU2qwLxO++YC3KTNlO/LDRpZeSblsjbyLWsjix3y7jhu HIwWWedPmpprwO7JwasnOvFd/iWC4SYQZudLxIcavE7HwpsGSG36QlXdRowl7IrrkP4u umTFtranFfBBWgomSKf00AaN1+5HAxQIZLPdPdb1cqIm2VdN0FFTLpEfLX+AgOIUeLZ7 ak0Q== X-Gm-Message-State: AOAM533omfntJZO1XjrcOfBkUVMAu5zfUohzDX2aZFjNwzdTyw3ZgNIS lhSdUyIbkR7gFVdSDUk8RGni+2NAph9o0g== X-Received: by 2002:a19:c7c1:: with SMTP id x184mr2954960lff.77.1601275872990; Sun, 27 Sep 2020 23:51:12 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id f9sm7650ljc.129.2020.09.27.23.51.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Sep 2020 23:51:12 -0700 (PDT) Received: by mail-lf1-f41.google.com with SMTP id b12so9788086lfp.9; Sun, 27 Sep 2020 23:51:12 -0700 (PDT) X-Received: by 2002:ac2:5f63:: with SMTP id c3mr3139536lfc.283.1601275872275; Sun, 27 Sep 2020 23:51:12 -0700 (PDT) MIME-Version: 1.0 References: <20200927192912.46323-1-peron.clem@gmail.com> <20200927192912.46323-9-peron.clem@gmail.com> In-Reply-To: <20200927192912.46323-9-peron.clem@gmail.com> From: Chen-Yu Tsai Date: Mon, 28 Sep 2020 14:51:00 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH v5 08/20] ASoC: sun4i-i2s: Fix setting of FIFO modes To: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Maxime Ripard , Rob Herring , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Jernej Skrabec , Linux-ALSA , devicetree , linux-arm-kernel , linux-kernel , linux-sunxi , Samuel Holland Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 28, 2020 at 3:29 AM Clément Péron wrote: > > From: Samuel Holland > > Because SUN4I_I2S_FIFO_CTRL_REG is volatile, writes done while the > regmap is cache-only are ignored. To work around this, move the > configuration to a callback that runs while the ASoC core has a > runtime PM reference to the device. > > Signed-off-by: Samuel Holland > Signed-off-by: Clément Péron Reviewed-by: Chen-Yu Tsai