Re: [PATCH 1/2] regmap: only call custom reg_update_bits() if reg is marked volatile

2015-10-06 Thread Jon Ringle
> On Oct 6, 2015, at 6:13 AM, Mark Brown wrote: > >> On Mon, Oct 05, 2015 at 11:29:56PM -0700, David Miller wrote: >> From: Mark Brown > >>> Dave, to be clear please do *not* apply this patch at least for the time >>> being - I've not reviewed it or the one from Thursday that you applied >>> t

Re: [PATCH net-next v2 1/2] regmap: Allow installing custom reg_update_bits function

2015-10-05 Thread Jon Ringle
On Mon, 5 Oct 2015, David Miller wrote: > From: j...@ringle.org > Date: Thu, 1 Oct 2015 07:43:20 -0400 > > > From: Jon Ringle > > > > This commit allows installing a custom reg_update_bits function for cases > > where > > the hardware provides a

Re: [PATCH 1/2] regmap: Allow installing custom reg_update_bits function

2015-10-01 Thread Jon Ringle
On Thu, 1 Oct 2015, Mark Brown wrote: > On Thu, Oct 01, 2015 at 02:33:06AM -0400, j...@ringle.org wrote: > > > @@ -2509,6 +2510,10 @@ static int _regmap_update_bits(struct regmap *map, > > unsigned int reg, > > int ret; > > unsigned int tmp, orig; > > > > + if (map->reg_update_bits