Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1179138
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151 |
| Date | 2015-07-08 00:50 +0200 |
| Message-ID | <pJJQC-36d-27@gated-at.bofh.it> (permalink) |
| References | <pATFw-5MI-17@gated-at.bofh.it> <pBzbH-81h-1@gated-at.bofh.it> <pBBZT-3Ca-11@gated-at.bofh.it> <pBDS2-6lJ-27@gated-at.bofh.it> <pEZW2-4bs-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[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.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151 Mark Brown <broonie@kernel.org> - 2015-07-08 00:50 +0200
csiph-web