summaryrefslogtreecommitdiff
path: root/drivers/misc/mei/pxp/mei_pxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei/pxp/mei_pxp.c')
-rw-r--r--drivers/misc/mei/pxp/mei_pxp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/mei/pxp/mei_pxp.c b/drivers/misc/mei/pxp/mei_pxp.c
index f77d78fa5054..787c6a27a4be 100644
--- a/drivers/misc/mei/pxp/mei_pxp.c
+++ b/drivers/misc/mei/pxp/mei_pxp.c
@@ -84,9 +84,10 @@ mei_pxp_send_message(struct device *dev, const void *message, size_t size, unsig
byte = ret;
break;
}
+ return byte;
}
- return byte;
+ return 0;
}
/**