This ioctl clears the active fault inputs. Some faults can be latched (still active even if the source is not active anymore), so they have to be cleared from the software. The argument is a pointer to unsigned long bitmask variable. This bitmask specifies which faults are to be cleared. The ioctl also can fetch the faults active prior to the clear. These faults are saved to the argument specifying which faults are to be cleared. Therefore passing zero bitmask means the driver will only return active faults and clear none. Passing NULL pointer means the driver will clear all active and return none. The implementation of this ioctl is per driver. Signed-off-by: Michal Lenc <michallenc@seznam.cz> |
||
|---|---|---|
| .. | ||
| block | ||
| character | ||
| special | ||
| thermal | ||
| index.rst | ||