Minor fixes to bus reset

This commit is contained in:
Lorenz Meier
2013-12-04 09:25:07 +01:00
parent acc3cc087f
commit 012adc9e33
2 changed files with 15 additions and 6 deletions
+5 -2
View File
@@ -420,8 +420,11 @@ MS5611::ioctl(struct file *filp, int cmd, unsigned long arg)
return _reports->size();
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
/*
* Since we are initialized, we do not need to do anything, since the
* PROM is correctly read and the part does not need to be configured.
*/
return OK;
case BAROIOCSMSLPRESSURE: