From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Nov 2011 17:35:29 +0000 From: Mark Brown To: Lars-Peter Clausen Cc: Dimitris Papastamos , Jonathan Cameron , Michael Hennerich , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, device-drivers-devel@blackfin.uclinux.org, drivers@analog.com Subject: Re: [PATCH 4/7] regmap: Try cached read before checking if a hardware read is possible Message-ID: <20111116173529.GC31558@opensource.wolfsonmicro.com> References: <1321457302-8724-1-git-send-email-lars@metafoo.de> <1321457302-8724-4-git-send-email-lars@metafoo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1321457302-8724-4-git-send-email-lars@metafoo.de> List-ID: On Wed, Nov 16, 2011 at 04:28:19PM +0100, Lars-Peter Clausen wrote: > For some register format types we do not provide a parse_val so we can not do a > hardware read. But a cached read is still possible, so try to read from the > cache first, before checking whether a hardware read is possible. Otherwise the > cache becomes pretty useless for these register types. Applied, thanks.