Re: [RESEND PATCH] regulator: mt6311: Use REGCACHE_RBTREE

2015-12-17 Thread Henry Chen
Thanks to the patch. On Fri, 2015-12-18 at 15:11 +0800, Daniel Kurtz wrote: > This regulator is on a slow i2c bus. Register accesses are very simple, > they all either enable/disable a regulator channel, or select a new > voltage level. Thus, reading registers from the device will always > retur

[RESEND PATCH] regulator: mt6311: Use REGCACHE_RBTREE

2015-12-17 Thread Daniel Kurtz
This regulator is on a slow i2c bus. Register accesses are very simple, they all either enable/disable a regulator channel, or select a new voltage level. Thus, reading registers from the device will always return what was last written. Therefore we can save a lot of time when reading registers