Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-07 Thread Ladislav Michl
On Sun, Jan 07, 2018 at 09:26:44PM +0530, Keerthy wrote: > On 1/5/2018 4:17 AM, Ladislav Michl wrote: > > On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: > > > From: Ladislav Michl > > > > > > Invalid prescaler value is silently ignored. Fix that > > > by returning

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-07 Thread Ladislav Michl
On Sun, Jan 07, 2018 at 09:26:44PM +0530, Keerthy wrote: > On 1/5/2018 4:17 AM, Ladislav Michl wrote: > > On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: > > > From: Ladislav Michl > > > > > > Invalid prescaler value is silently ignored. Fix that > > > by returning -EINVAL in such case.

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-07 Thread Keerthy
On 1/5/2018 4:17 AM, Ladislav Michl wrote: On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: From: Ladislav Michl Invalid prescaler value is silently ignored. Fix that by returning -EINVAL in such case. As invalid value disabled use of the prescaler, use -1

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-07 Thread Keerthy
On 1/5/2018 4:17 AM, Ladislav Michl wrote: On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: From: Ladislav Michl Invalid prescaler value is silently ignored. Fix that by returning -EINVAL in such case. As invalid value disabled use of the prescaler, use -1 explicitely for that

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-04 Thread Ladislav Michl
On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: > From: Ladislav Michl > > Invalid prescaler value is silently ignored. Fix that > by returning -EINVAL in such case. As invalid value > disabled use of the prescaler, use -1 explicitely for > that purpose. > >

Re: [PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-04 Thread Ladislav Michl
On Tue, Jan 02, 2018 at 03:39:59PM +0530, Keerthy wrote: > From: Ladislav Michl > > Invalid prescaler value is silently ignored. Fix that > by returning -EINVAL in such case. As invalid value > disabled use of the prescaler, use -1 explicitely for > that purpose. > > Signed-off-by: Ladislav

[PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-02 Thread Keerthy
From: Ladislav Michl Invalid prescaler value is silently ignored. Fix that by returning -EINVAL in such case. As invalid value disabled use of the prescaler, use -1 explicitely for that purpose. Signed-off-by: Ladislav Michl ---

[PATCH v6 10/10] clocksource: timer-dm: Check prescaler value

2018-01-02 Thread Keerthy
From: Ladislav Michl Invalid prescaler value is silently ignored. Fix that by returning -EINVAL in such case. As invalid value disabled use of the prescaler, use -1 explicitely for that purpose. Signed-off-by: Ladislav Michl --- drivers/clocksource/timer-dm.c | 3 +++ 1 file changed, 3