Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: accel: mma9553: check input value for activity period
When setting the activity period, the value introduced by the user in sysfs is not checked for validity. Add a boundary check so that only allowed values are reported as successfully written to device. Signed-off-by: Irina Tirdea <[email protected]> Reported-by: Hartmut Knaack <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information