[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5Dgcw-5hv4=H5LcJ2NVobz+4YW7Gu=Y8y88465CYLZ+=w@mail.gmail.com>
Date: Mon, 18 Jan 2016 20:14:24 -0200
From: Fabio Estevam <festevam@...il.com>
To: "Maciej S. Szmigiero" <mail@...iej.szmigiero.name>
Cc: "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
Timur Tabi <timur@...i.org>,
Nicolin Chen <nicoleotsuka@...il.com>,
Xiubo Li <Xiubo.Lee@...il.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: fsl_ssi: remove explicit register defaults
On Mon, Jan 18, 2016 at 5:07 PM, Maciej S. Szmigiero
<mail@...iej.szmigiero.name> 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.
>
> However, the cache needs to be fully populated at probe
> time to avoid non-atomic allocations during register
> access.
>
> Special case here is imx21-class SSI, since
> according to datasheet it don't have SACC{ST,EN,DIS}
> regs.
>
> 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@...iej.szmigiero.name>
Tested-by: Fabio Estevam <fabio.estevam@....com>
Powered by blists - more mailing lists