Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1179138 > unrolled thread

Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151

Started byMark Brown <broonie@kernel.org>
First post2015-07-08 00:50 +0200
Last post2015-07-08 00:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151 Mark Brown <broonie@kernel.org> - 2015-07-08 00:50 +0200

#1179138 — Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151

FromMark Brown <broonie@kernel.org>
Date2015-07-08 00:50 +0200
SubjectRe: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151
Message-ID<pJJQC-36d-27@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Wed, Jun 24, 2015 at 10:49:59PM +0200, Sergej Sawazki wrote:
> On Mon, 15 Jun 2015 15:49:33 +0100, Mark Brown wrote:

> >Are you *sure* there are physically readable registers on the device?
> >It's difficult to implement for 7x9 devices given that the top register
> >bit is in the byte used to send the register address, I expect you'll
> >find that the registers marked as readable are actually those that
> >should be cached.

> You are right, the registers are not physically readable. Sorry for the
> confusion.

> What I actually was trying to do is to read the cached register values.

OK, so what we need to do here is rearrange things so we check the cache
before we check for readability.  That way if there is a cached value
then we'll return it and the readability check will still reflect the
hardware state.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web