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

Timur Tabi timur at tabi.org
Tue Jan 12 12:23:54 AEDT 2016


Mark Brown wrote:
> regcache handles this fine, it's perfectly happy to just go and allocate
> the cache as registers get used (this is why the code that's doing the
> allocation exists...).  What is causing problems here is that the first
> access to the register is happening in interrupt context so we can't do
> a GFP_KERNEL allocation for it.

Considering how small and not-sparse the SSI register space is, would 
using REGCACHE_FLAT be appropriate?


More information about the Linuxppc-dev mailing list