Re: [PATCH 10/20] regmap: _regmap_raw_multi_reg_write: Add reg_write() support

2015-08-12 Thread Markus Pargmann
On Wed, Aug 12, 2015 at 01:39:23PM +0100, Mark Brown wrote: > On Wed, Aug 12, 2015 at 12:12:35PM +0200, Markus Pargmann wrote: > > Define a fallback for busses which do not define a write() function. > > Instead we write one register at a time using reg_write(). > > > > Without this patch, _regmap

Re: [PATCH 10/20] regmap: _regmap_raw_multi_reg_write: Add reg_write() support

2015-08-12 Thread Mark Brown
On Wed, Aug 12, 2015 at 12:12:35PM +0200, Markus Pargmann wrote: > Define a fallback for busses which do not define a write() function. > Instead we write one register at a time using reg_write(). > > Without this patch, _regmap_raw_multi_reg_write would break as it tries > to call bus->write() wi

[PATCH 10/20] regmap: _regmap_raw_multi_reg_write: Add reg_write() support

2015-08-12 Thread Markus Pargmann
Define a fallback for busses which do not define a write() function. Instead we write one register at a time using reg_write(). Without this patch, _regmap_raw_multi_reg_write would break as it tries to call bus->write() without checking if it exists before. Signed-off-by: Markus Pargmann --- d