Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751830AbbFXUuO (ORCPT ); Wed, 24 Jun 2015 16:50:14 -0400 Received: from mout.gmx.net ([212.227.17.21]:51024 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbbFXUuJ (ORCPT ); Wed, 24 Jun 2015 16:50:09 -0400 Message-ID: <558B17F7.8070401@gmx.de> Date: Wed, 24 Jun 2015 22:49:59 +0200 From: Sergej Sawazki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Mark Brown CC: gregkh@linuxfoundation.org, wsa@the-dreams.de, linux-kernel@vger.kernel.org Subject: Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151 References: <557C2E3E.80000@gmx.de> <20150615094922.GB18309@sirena.org.uk> <20150615144933.GO18309@sirena.org.uk> In-Reply-To: <20150615144933.GO18309@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:LBqPmQYeReMyQsk1z6LEblPBKnZ+4vjKfXoZh9RWYxpFcPxw7Fy 0sB4HTTiAipLi3T9gwElNf1vxLwAjWusuMOxqwBr+Q3WcIyjX+IYM+pZQP64dRqHYvkogR3 b1BEEKWe7usVMq4PcfO+r0AYmvfCGEiVhq3uzGIQcE2wLkeKDFwqona/6wJixLdooG/i4Sl CkGiPUf3XStCTire0s3zA== X-UI-Out-Filterresults: notjunk:1;V01:K0:pKVqqOPPIdY=:HMIRzH1a7didZsFbF5EbDH LY2mwkggQUYHKmK50vF1SfrlFqGSPni0ybn8Lodgdsue5Snwdi/zNShstGb3qydST4guSfBLD z5knDWxkzdK+b09Pr6DtSbYIlLlI0GJe1SLkzkmgIUm6p03vMvcp3+xVAe7l4IRMfqcOUtrt5 w/rX7HnPpm8wbUsRkkql5+bEyt034WdGxtsXBFfn6UxkqGCQ3vJNX1O+4M3zGxrSjHpzJsCID 5a3vDZXTyWk5hUJUmcwEO+ZheE3Evi5hkCpEd13VmJ94LiUX/6Yvsc/Gz+Cxm2QJLRU1MNYtF u4/+irH/ugz9jPij2SuN5JPPpnw4S80rkQcWNp/6XRatyri57BNUgvTB4a/qprWHhQUksLUOy ed26TJWd370PtFu2IlSIKnDgea84S5ukhb9xdxUZFGQ7D061UIgHzcesUKobv6apxMSoRDMsA faj1MKJ7IsMAMv6RN1j7PmzCEfdYp7U7bE57+qiER2rYyiuxKXANFGqvsoRnP42fjiaMg9e8c UGGnHemlBNzDXI3uoXfdTWFY5y0OWqKAlynagRwPBauXFuOYZqbqvk+itXlSWG1LQrW/mwjsE 9fUYWerTOpUQtwRpwRO8suu6mbch7vWpa3P6RoQhrv4j+Vql0XpFWbdS4vXbsRzvthoxd2el9 cMJdAvEtMwC9M5lQe5WYMTPMnhDBaunhTd+YF5PLnX9ukMNyTi178AnjV8Y1CWGIZVK4= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1294 Lines: 30 On Mon, 15 Jun 2015 15:49:33 +0100, Mark Brown wrote: > On Mon, Jun 15, 2015 at 02:42:30PM +0200, Sergej Sawazki wrote: >> Am 15. Juni 2015 11:49:22 MESZ, schrieb Mark Brown : > >>> We need to change that code to special case write only register maps >>> like this and just skip having a cache for those devices. They >>> normally >>> have very small register maps anyway so it shouldn't have too big an >>> impact on performance. > >> I'm having this issue with a wm8741 DAC, its register map is not >> "write only", it has readable and writeable registers. > > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/