···349349 goto disable;350350 }351351352352+ /* If an interrupt arrived late clean up after it */353353+ try_wait_for_completion(&wm831x->auxadc_done);354354+352355 /* Ignore the result to allow us to soldier on without IRQ hookup */353356 wait_for_completion_timeout(&wm831x->auxadc_done, msecs_to_jiffies(5));354357
+4
drivers/mfd/wm8350-core.c
···363363 reg |= 1 << channel | WM8350_AUXADC_POLL;364364 wm8350_reg_write(wm8350, WM8350_DIGITISER_CONTROL_1, reg);365365366366+ /* If a late IRQ left the completion signalled then consume367367+ * the completion. */368368+ try_wait_for_completion(&wm8350->auxadc_done);369369+366370 /* We ignore the result of the completion and just check for a367371 * conversion result, allowing us to soldier on if the IRQ368372 * infrastructure is not set up for the chip. */