mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
ab54163190
Neither sample frequency value nor hysteresis value can be set to be a negative number, check and return "Invalid argument" if they are negative. If not do this change, sample_frequency will be set into some unknown value, read hysteresis value after write negative number will return "Invalid argument". Signed-off-by: Song Hongyan <hongyan.song@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
hid-sensor-attributes.c | ||
hid-sensor-trigger.c | ||
hid-sensor-trigger.h | ||
Kconfig | ||
Makefile |