ioc:kernel-driver: Fix startup delay for normal mode

This commit is contained in:
Markus Koch 2020-05-10 20:41:10 +02:00
parent 3ae19dc20a
commit 0ec64e6a39

View File

@ -292,7 +292,7 @@ static int lw35ioc_chardev_open(struct inode *inodep, struct file *filep) {
break; break;
case PASSIVE: case PASSIVE:
lw35ioc_reset_ioc_hw(serdev); lw35ioc_reset_ioc_hw(serdev);
usleep_range(1000000, 1010000); usleep_range(2100000, 2210000);
dev_info(&serdev->dev, "Put ioc into active mode.\n"); dev_info(&serdev->dev, "Put ioc into active mode.\n");
priv->state = ACTIVE; priv->state = ACTIVE;
break; break;