Re: [PATCH v2 2/2] timer: Return count from timer_ops.get_count

2020-10-22 Thread Tom Rini
On Wed, Oct 07, 2020 at 02:37:44PM -0400, Sean Anderson wrote: > No timer drivers return an error from get_count. Instead of possibly > returning an error, just return the count directly. > > Signed-off-by: Sean Anderson > Reviewed-by: Claudiu Beznea > Reviewed-by: Simon Glass Applied to

Re: [PATCH v2 2/2] timer: Return count from timer_ops.get_count

2020-10-09 Thread Simon Glass
Hi Sean, On Wed, 7 Oct 2020 at 12:38, Sean Anderson wrote: > > No timer drivers return an error from get_count. Instead of possibly > returning an error, just return the count directly. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - mchp-pit64b was added since v1, so convert it >

Re: [PATCH v2 2/2] timer: Return count from timer_ops.get_count

2020-10-08 Thread Claudiu.Beznea
On 07.10.2020 21:37, Sean Anderson wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > No timer drivers return an error from get_count. Instead of possibly > returning an error, just return the count directly. > > Signed-off-by: Sean

[PATCH v2 2/2] timer: Return count from timer_ops.get_count

2020-10-07 Thread Sean Anderson
No timer drivers return an error from get_count. Instead of possibly returning an error, just return the count directly. Signed-off-by: Sean Anderson --- Changes in v2: - mchp-pit64b was added since v1, so convert it - Document when get_count may be called, and what assumptions the timer