mei: rename MEI_FOP_IOCTL to MEI_FOP_CONNECT
[firefly-linux-kernel-4.4.55.git] / drivers / misc / mei / amthif.c
index d9f14ef512e6ad913c0f825dd452eaf203e2e316..f88cb26364f59b681e756c0481c3be1ebad89ad1 100644 (file)
@@ -364,7 +364,7 @@ int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *cb)
        if (ret)
                return ret;
 
-       cb->fop_type = MEI_FOP_IOCTL;
+       cb->fop_type = MEI_FOP_WRITE;
 
        if (!list_empty(&dev->amthif_cmd_list.list) ||
            dev->iamthif_state != MEI_IAMTHIF_IDLE) {