5 Jul
2017
5 Jul
'17
4:02 p.m.
On Wed, Jul 05, 2017 at 05:43:23PM +0200, codekipper@gmail.com wrote:
From: Marcus Cooper codekipper@gmail.com
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
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com