Re: [linux-sunxi] [PATCH v5 08/20] ASoC: sun4i-i2s: Fix setting of FIFO modes
From: Chen-Yu Tsai
Date: Mon Sep 28 2020 - 02:51:23 EST
On Mon, Sep 28, 2020 at 3:29 AM Clément Péron <peron.clem@xxxxxxxxx> wrote:
>
> From: Samuel Holland <samuel@xxxxxxxxxxxx>
>
> 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 <samuel@xxxxxxxxxxxx>
> Signed-off-by: Clément Péron <peron.clem@xxxxxxxxx>
Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxx>