Re: [PATCH] ASoC: Fix wm8753 register cache size and initialization

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Brown <broonie@...>
Cc: <openmoko-kernel@...>
Date: Friday, July 3, 2009 - 7:07 am

Mark Brown wrote:

Sorry, I should have been more clear what part of the patch is related
to the heisenbug:
I suspect the heisenbug to be caused by the register cache being one to
small and in the openmoko tree version of wm8753.c the bounds check in
the register cache access code is wrong and allows access to one element
behind the actual array size.
So read/write to the WM8753_ADCTL2 register accesses unalloced and
uninitalised memory. Which explains why it showed up only sometimes.

- Lars

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ASoC: Fix wm8753 register cache size and initializat..., Lars-Peter Clausen, (Thu Jul 2, 7:04 pm)
Re: [PATCH] ASoC: Fix wm8753 register cache size and initial..., Lars-Peter Clausen, (Fri Jul 3, 7:07 am)