Re: [PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-22 Thread Daniel Lezcano
On 05/22/2013 11:47 AM, Lu Jingchang-B35083 wrote: > [ ... ] >> >>> +} >>> + >>> +static void __init pit_timer_init(struct device_node *np) { >>> + struct clk *pit_clk; >>> + void __iomem *timer_base; >>> + int irq; >>> + >>> + timer_base = of_iomap(np, 0); >>> + BUG_ON(!timer_base); >

RE: [PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-22 Thread Lu Jingchang-B35083
@linaro.org; >s.ha...@pengutronix.de >Subject: Re: [PATCH v4] clocksource: add Vybrid Family pit timer support > >On 05/21/2013 09:27 AM, Jingchang Lu wrote: >> Add Freescale Vybrid Family period interrupt timer support. >> >> Signed-off-by: Jingchang Lu >> --- >&

Re: [PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-21 Thread Daniel Lezcano
On 05/21/2013 09:27 AM, Jingchang Lu wrote: > Add Freescale Vybrid Family period interrupt timer support. > > Signed-off-by: Jingchang Lu > --- > v4: > use family name names driver and symbol instead of SoC name. > remove redundant code. > use BUG_ON instead of WARN_ON. > add necessory co