示例#1
0
static int wacom_reset_hw(struct wacom_i2c *wac_i2c)
{
	wacom_stop(wac_i2c);
	msleep(30);
	wacom_start(wac_i2c);
	msleep(200);

	return 0;
}
static int wacom_reset_hw(struct wacom_i2c *wac_i2c)
{
	wacom_stop(wac_i2c);

#ifdef WACOM_RESETPIN_DELAY
	msleep(300);
#else
	msleep(30);
#endif
	wacom_start(wac_i2c);
	msleep(200);

	return 0;
}