mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/psmv: Return error code
This commit is contained in:
parent
1ae8acc71c
commit
58008d2ff1
|
@ -531,7 +531,7 @@ psmv_get_calibration(struct psmv_device *psmv)
|
|||
}
|
||||
|
||||
if (ret != (int)sizeof(part)) {
|
||||
return ret;
|
||||
return -1;
|
||||
}
|
||||
|
||||
switch (part.which) {
|
||||
|
|
Loading…
Reference in a new issue