[alsa-devel] [PATCH RESEND] ASoC: sgtl5000: fix cache handling

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Aug 3 01:52:37 CEST 2011


On Tue, Aug 02, 2011 at 07:42:19PM +0200, Wolfram Sang wrote:
> Cache handling in this driver is broken. The chip has 16-bit registers, yet the
> register numbers also increase by 2 per register, i.e.  there are only
> even-numbered registers. The cache in this driver, though, simply increments
> register numbers, so it does need some mapping as seen in
> sgtl5000_restore_regs(), note the '>> 1':

Applied, thanks.


More information about the Alsa-devel mailing list