Re: [U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()

2019-10-29 Thread sjg
On 12/10/2019 00:16, Simon Glass wrote: > This function assumes that the 'val' parameter has no masked bits set. > This is not defined by the function prototype though. Fix the function to > mask the value and update the documentation. > > Signed-off-by: Simon Glass > --- > > drivers/core/regmap

Re: [U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()

2019-10-25 Thread Jean-Jacques Hiblot
On 12/10/2019 00:16, Simon Glass wrote: This function assumes that the 'val' parameter has no masked bits set. This is not defined by the function prototype though. Fix the function to mask the value and update the documentation. Signed-off-by: Simon Glass --- drivers/core/regmap.c | 2 +-

Re: [U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()

2019-10-11 Thread Bin Meng
On Sat, Oct 12, 2019 at 6:25 AM Simon Glass wrote: > > This function assumes that the 'val' parameter has no masked bits set. > This is not defined by the function prototype though. Fix the function to > mask the value and update the documentation. > > Signed-off-by: Simon Glass > --- > > driver

[U-Boot] [PATCH 4/5] dm: regmap: Fix mask in regmap_update_bits()

2019-10-11 Thread Simon Glass
This function assumes that the 'val' parameter has no masked bits set. This is not defined by the function prototype though. Fix the function to mask the value and update the documentation. Signed-off-by: Simon Glass --- drivers/core/regmap.c | 2 +- include/regmap.h | 3 ++- 2 files chang