From 0859f799583daa5fac57ab3f9a1175aae4de3252 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 12 Nov 2014 15:44:33 +1100 Subject: i2c: Use new timer facility and improve interrupts handling We only poll the masters for the chip that got the interrupt and we improve the running of the timers as well. We user the new TIMER_POLL facility to replace the use of the OPAL poller, which simplifies the code further. Signed-off-by: Benjamin Herrenschmidt --- core/chip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'core/chip.c') diff --git a/core/chip.c b/core/chip.c index e6eb81c..272f024 100644 --- a/core/chip.c +++ b/core/chip.c @@ -81,5 +81,6 @@ void init_chips(void) 0xffffffff); chip->pcid = dt_prop_get_u32_def(xn, "ibm,proc-chip-id", 0xffffffff); + list_head_init(&chip->i2cms); }; } -- cgit v1.1