summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/beacon.c
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-04-13 18:40:49 +0300
committerJonathan Cameron <jic23@kernel.org>2015-04-26 19:43:08 +0100
commit1d93353da536d3403ac291dc96070f434f6cf285 (patch)
tree356164fad3cc6ff85d1d47332efabcd220570539 /drivers/uwb/beacon.c
parentae2ec9597c9329fdf503af264966bc7e421daa58 (diff)
downloadop-kernel-dev-1d93353da536d3403ac291dc96070f434f6cf285.zip
op-kernel-dev-1d93353da536d3403ac291dc96070f434f6cf285.tar.gz
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 <irina.tirdea@intel.com> Reported-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/uwb/beacon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud