[PATCH 3/3] ASoC: fsl_ssi: remove register defaults

Timur Tabi timur at tabi.org
Mon Jan 11 08:36:34 AEDT 2016


Maciej S. Szmigiero wrote:
> There is no guarantee that on fsl_ssi module load
> SSI registers will have their power-on-reset values.
>
> In fact, if the driver is reloaded the values in
> registers will be whatever they were set to previously.
>
> This fixes hard lockup on fsl_ssi module reload,
> at least in AC'97 mode.
>
> Fixes: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast")
>
> Signed-off-by: Maciej S. Szmigiero<mail at maciej.szmigiero.name>

Acked-by: Timur Tabi <timur at tabi.org>

I'm surprised that we're actually encouraging drivers to contain 
hard-coded register values.


More information about the Linuxppc-dev mailing list