コード例 #1
0
ファイル: eeti_ts.c プロジェクト: 253627764/GT-I9500
static void eeti_ts_start(struct eeti_ts_priv *priv)
{
	enable_irq(priv->irq);

	/* Read the events once to arm the IRQ */
	eeti_ts_read(&priv->work);
}
コード例 #2
0
static int eeti_ts_open(struct input_dev *dev)
{
	struct eeti_ts_priv *priv = input_get_drvdata(dev);

	enable_irq(priv->irq);

	
	eeti_ts_read(&priv->work);

	return 0;
}
コード例 #3
0
ファイル: eeti_ts.c プロジェクト: 12019/kernel_zte_u880
static int eeti_ts_open(struct input_dev *dev)
{
	struct eeti_ts_priv *priv = input_get_drvdata(dev);

	enable_irq(priv->irq);

	/* Read the events once to arm the IRQ */
	eeti_ts_read(&priv->work);

	return 0;
}