Re: [U-Boot] [PATCH v2 38/41] pmic: allow dump command for non contiguous register maps

2019-10-30 Thread Schrempf Frieder
On 23.10.19 20:21, Robert Beckett wrote: > From: Martin Fuzzey > > Some PMICs (such as the DA9063) have non-contiguous register maps. > Attempting to read the non implemented registers returns an error > rather than a dummy value which causes 'pmic dump' to terminate > prematurely. > > Fix this

[U-Boot] [PATCH v2 38/41] pmic: allow dump command for non contiguous register maps

2019-10-23 Thread Robert Beckett
From: Martin Fuzzey Some PMICs (such as the DA9063) have non-contiguous register maps. Attempting to read the non implemented registers returns an error rather than a dummy value which causes 'pmic dump' to terminate prematurely. Fix this by allowing the PMIC driver to return -ENODATA for such