[PATCH 72/92] clocksources: Switch back to the clksrc table

2016-06-28 Thread Daniel Lezcano
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

[PATCH 70/92] clocksource/drivers/arc: Convert init function to return error

2016-06-28 Thread Daniel Lezcano
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

RE: Click source driver

2016-06-28 Thread Noam Camus
>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

Re: Click source driver

2016-06-28 Thread Vineet Gupta
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