Re: [PATCH] regmap: make LZO cache optional

2017-06-11 Thread Jonas Gorski
Hi Andreas, On 8 June 2017 at 16:28, Andreas Ziegler wrote: > Hi Jonas, > > I noticed your patch 'regmap: make LZO cache optional' as it recently showed > up > in linux-next. In your patch, you modify drivers/base/regmap/regcache.c by > adding an #if IS_ENABLED()

Re: [PATCH] regmap: make LZO cache optional

2017-06-08 Thread Andreas Ziegler
Hi Jonas, I noticed your patch 'regmap: make LZO cache optional' as it recently showed up in linux-next. In your patch, you modify drivers/base/regmap/regcache.c by adding an #if IS_ENABLED() statement. However, this statement contains a spelling error, as it references REGCHACHE_

Re: [PATCH] regmap: make LZO cache optional

2017-06-02 Thread Greg Kroah-Hartman
On Fri, Jun 02, 2017 at 03:15:37PM +0200, Jonas Gorski wrote: > Commit 2cbbb579bcbe3 ("regmap: Add the LZO cache support") added support > for LZO compression in regcache, but there were never any users added > afterwards. Since LZO support itself has its own size, it currently is > rather a deopti

[PATCH] regmap: make LZO cache optional

2017-06-02 Thread Jonas Gorski
Commit 2cbbb579bcbe3 ("regmap: Add the LZO cache support") added support for LZO compression in regcache, but there were never any users added afterwards. Since LZO support itself has its own size, it currently is rather a deoptimization. So make it optional by introducing a symbol that can be sel