lkml.org 
[lkml]   [2011]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: max98095: Convert codec->hw_write to snd_soc_write
On Fri, Oct 14, 2011 at 10:40:58AM -0700, Peter Hsiang wrote:
> On Fri, Oct 14, 2011, Axel Lin wrote:
> > codec->hw_write is broken now, convert codec->hw_write to
> > snd_soc_write.

> The hardware has 2 banks of registers sharing a section in I2C register space.
> The 1st bank is the primary one and is cached.
> The 2nd bank is for loading coefficients only and they do not need cache.
> These coefficients registers are therefore direct writes.
> Changing this to a cached write will overwrite the cache.

Writes to the cached region should be done within a cache_bypass flag to
deal with this.


\
 
 \ /
  Last update: 2011-10-14 21:05    [W:0.038 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site