/* Note: if fifo_cnt is 0, we will tell the input layer that no keys are pressed. */
static void process_fifo(struct tegra_kbd_priv *priv, int fifo_cnt)
/* Note: if fifo_cnt is 0, we will tell the input layer that no keys are pressed. */
static void process_fifo(struct tegra_kbd_priv *priv, int fifo_cnt)
{
	int fifo[KBC_MAX_KPENT];
	int cnt = 0;
	do {
		if (fifo_cnt)
			cnt = tegra_kbc_find_keys(priv, fifo, KBC_MAX_KPENT);
		input_send_keycodes(priv->input, fifo, cnt);
	} while (--fifo_cnt > 0);
}