[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5668D760.2040605@cmss.chinamobile.com>
Date: Thu, 10 Dec 2015 09:37:36 +0800
From: Xiubo Li <lixiubo@...s.chinamobile.com>
To: Mark Brown <broonie@...nel.org>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regmap: speed up the regcache_init()
On 09/12/2015 23:05, Mark Brown wrote:
> On Wed, Dec 09, 2015 at 11:17:22AM +0800, Xiubo Li wrote:
>
>> Yes, usually when the register cache is not used, the number of the
>> defaults should be zero, but for some drivers like drv2267.c/led_lp8860.c
>> will add the defaults register values though the cache type is
>> REGCACHE_NONE for some reasons.
> I can't find either of those in the kernel tree...
This could be found in the for-next branch of regmap tree.
>> This patch may be not the best, but will be a bit meaningful for some
>> drivers like drv2267.c/led_lp8860.c for now.
> TBH if we're going to do something here it might be as well to print a
> warning if something is providing register defaults but no cache.
Yes, Agreed.
I will enhance this later in another patch, just abandon this one please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists