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

Thomas Gleixner tglx at linutronix.de
Fri Jul 5 19:49:45 EDT 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 linux-arm-kernel mailing list