[PATCH] ASoC: fsl_ssi: remove explicit register defaults

Fabio Estevam festevam at gmail.com
Tue Feb 2 08:34:15 AEDT 2016


On Mon, Feb 1, 2016 at 7:30 PM, Maciej S. Szmigiero
<mail at maciej.szmigiero.name> wrote:

> So can regcache initialization be changed to use register by register read
> in case raw read fails?
>
> Since other option for drivers like SSI which are memory mapped and
> don't offer ability to reset their register values to default would be to
> explicitly write driver hardcoded defaults also by doing
> register by register write on probe time.

Yes, I had to do the same for sgtl5000:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/sound/soc/codecs/sgtl5000.c?id=af8ee11209e749c75eabf32b2a4ca631f396acf8

Would this approach work here too?


More information about the Linuxppc-dev mailing list