Пример #1
0
static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)
{
	/* if hvc_poll request a repoll, then kick the hvcd thread */
	if (hvc_poll(dev_instance))
		hvc_kick();
	return IRQ_HANDLED;
}
Пример #2
0
static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)
{
	/* if hvc_poll request a repoll, then kick the hvcd thread */
	if (hvc_poll(dev_instance))
		hvc_kick();

	/*
	 * We're safe to always return IRQ_HANDLED as the hvcd thread will
	 * iterate through each hvc_struct.
	 */
	return IRQ_HANDLED;
}