[PATCH 5/9] clocksource: dw_apb_timer: quirk for variants without EOI register

Thomas Gleixner tglx at linutronix.de
Sat Jul 6 09:49:45 EST 2013


On Sat, 6 Jul 2013, Heiko Stübner wrote:
> -	dw_ced->eoi = apbt_eoi;
> +	if (quirks & APBTMR_QUIRK_NO_EOI)
> +		dw_ced->eoi = apbt_eoi_int_status;
> +	else
> +		dw_ced->eoi = apbt_eoi;

No again. This has nothing to do with quirks. We use quirks for
workarounds and not for refactoring of code.

Thanks,

	tglx


More information about the devicetree-discuss mailing list