Hi Mark
>
> On Fri, Aug 16, 2019 at 01:03:14AM -0400, Shengjiu Wang wrote:
>
> > + for (i = 0; i < reg_max; i++)
> > + regcache[i] = readl(audmux_base + i * 4);
>
> If only there were some framework which provided a register cache!
Yes, next step I can refine this driver to use
On Fri, Aug 16, 2019 at 01:03:14AM -0400, Shengjiu Wang wrote:
> + for (i = 0; i < reg_max; i++)
> + regcache[i] = readl(audmux_base + i * 4);
If only there were some framework which provided a register cache! :P
signature.asc
Description: PGP signature
For i.MX6 SoloX, there is a mode of the SoC to shutdown all power
source of modules during system suspend and resume procedure.
Thus, AUDMUX needs to save all the values of registers before the
system suspend and restore them after the system resume.
Signed-off-by: Shengjiu Wang
---