RE: [PATCH] ASoC: max98095: Convert codec->hw_write to snd_soc_write

From: Peter Hsiang
Date: Fri Oct 14 2011 - 13:54:50 EST


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.

Peter
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i