diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index d540e92..d2412fd 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -3495,8 +3495,6 @@ static long ddb_ioctl(struct file *file, unsigned int cmd, unsigned long arg) struct i2c_adapter *adap; u8 *mbuf, *hbuf = &dev->iobuf[0]; - if (!dev->link[0].info->regmap->i2c) - return -EINVAL; if (copy_from_user(&i2c, parg, sizeof(i2c))) return -EFAULT; if (i2c.bus > dev->i2c_num)