writel(AVS_CPU_L2_INT_MASK, priv->avs_intr_base + AVS_CPU_L2_SET0);/* Wait for AVS co-processor to finish processing the command. */time_left =wait_for_completion_timeout(&priv->done, time_left);/* * If the AVS status is not in the expected range, it means AVS didn't * ...
ret =wait_for_completion_interruptible_timeout(&lcd->complete, CHARLCD_TIMEOUT);/* Disable IRQ after completion */writel(0x00, lcd->virtbase + CHAR_MASK);if(ret <0) { dev_err(lcd->dev,"wait_for_completion_interruptible_timeout() ""returned %d waiting for ready\n", ret);return; }...