Re: [PATCH v2 lora-next 1/4] net: lora: sx1301: convert burst spi functions to regmap raw

2018-10-10 Thread Mark Brown
On Wed, Oct 10, 2018 at 09:59:29AM +0200, Andreas Färber wrote: > Am 09.10.18 um 14:52 schrieb Ben Whitten: > > - return spi_sync_transfer(priv->spi, xfr, 2); > > + return regmap_raw_write(priv->regmap, reg, val, len); > ... Which would mean we are lacking a noinc API for write here! >

RE: [PATCH v2 lora-next 1/4] net: lora: sx1301: convert burst spi functions to regmap raw

2018-10-10 Thread Ben Whitten
> Subject: Re: [PATCH v2 lora-next 1/4] net: lora: sx1301: > convert burst spi functions to regmap raw > > Hi Ben and Mark, > > Am 09.10.18 um 14:52 schrieb Ben Whitten: > > As we have caching disabled we can access the regmap > using raw for our > > firmware r

Re: [PATCH v2 lora-next 1/4] net: lora: sx1301: convert burst spi functions to regmap raw

2018-10-10 Thread Andreas Färber
Hi Ben and Mark, Am 09.10.18 um 14:52 schrieb Ben Whitten: > As we have caching disabled we can access the regmap using raw for our > firmware reading and writing bursts. > We also remove the now defunct spi element from the structure as this > completes the move to regmap. > > Signed-off-by:

[PATCH v2 lora-next 1/4] net: lora: sx1301: convert burst spi functions to regmap raw

2018-10-09 Thread Ben Whitten
As we have caching disabled we can access the regmap using raw for our firmware reading and writing bursts. We also remove the now defunct spi element from the structure as this completes the move to regmap. Signed-off-by: Ben Whitten --- drivers/net/lora/sx1301.c | 26