RE: [PATCH 1/3] pm8001: fix pm8001_store_update_fw

2014-07-30 Thread Suresh Thiagarajan
On Wed, Jul 30, 2014 at 5:40 PM, James Bottomley wrote: > On Wed, 2014-07-30 at 17:33 +0530, Suresh Thiagarajan wrote: >> From: Suresh Thiagarajan >> >> The current implementation may mix the negative value returned >> from pm8001_set_nvmd with with count. -(-ENOMEM) could be interpreted >> as

Re: [PATCH 1/3] pm8001: fix pm8001_store_update_fw

2014-07-30 Thread James Bottomley
On Wed, 2014-07-30 at 17:33 +0530, Suresh Thiagarajan wrote: > From: Suresh Thiagarajan > > The current implementation may mix the negative value returned > from pm8001_set_nvmd with with count. -(-ENOMEM) could be interpreted > as bytes programmed, this patch fixes it. > > Signed-off-by: Tomas