Re: [PATCH 2/3] ASoC: sun4i-i2s: Get startup to call set_fmt
From: Maxime Ripard
Date: Wed Jul 05 2017 - 12:03:10 EST
On Wed, Jul 05, 2017 at 05:43:23PM +0200, codekipper@xxxxxxxxx wrote:
> From: Marcus Cooper <codekipper@xxxxxxxxx>
> The set_fmt function pointer is called during probing and this is whilst
> the block is disabled. It is over writing the default register values with
> the same settings so isn't noticed.
> This wasn't a problem with the older SoCs but with the desire to reuse as
> much functionlity as possible for the newer devices then set_fmt needs to
> be called whilst the block is enabled.
The driver while the block is disabled will use the cache, and will
flush it when the block is enabled so it won't make any difference.
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
Description: PGP signature