All the clocksource drivers's init function are now converted to return
an error code. CLOCKSOURCE_OF_DECLARE is no longer used as well as the
clksrc-of table.
Let's convert back the names:
- CLOCKSOURCE_OF_DECLARE_RET => CLOCKSOURCE_OF_DECLARE
- clksrc-of-ret => clksrc-of
Signed-o
The init functions do not return any error. They behave as the following:
- panic, thus leading to a kernel crash while another timer may work and
make the system boot up correctly
or
- print an error and let the caller unaware if the state of the system
Change that by converting t
>From: Vineet Gupta [mailto:vineet.gup...@synopsys.com]
>Sent: Tuesday, June 28, 2016 11:32 AM
>> I noticed that arc-timer driver appears twice in DTS file so first one
>> will invoke initialization of clockevent and second the clocksource.
>> Please note that both update same global variable a
On Saturday 11 June 2016 01:12 AM, Noam Camus wrote:
>
> Hi Vineet,
>
> I am updating my clocksource driver to include support of timer0 for
> clockevents.
>
> My current version uses arc-timer driver for clockevents.
>
> I noticed that arc-timer driver appears twice in DTS file so first one will