12e26265e6
sscanf returns 0 when an invalid parameter like: echo -n "a">min_freq is attempted. Returning back the return result(0) will cause the command not to return back to command prompt. Instead, just return -EINVAL when sscanf does not return 1. This is done for min_freq, max_freq and polling_interval Signed-off-by: Nishanth Menon <nm@ti.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
devfreq.c | ||
exynos4_bus.c | ||
governor.h | ||
governor_performance.c | ||
governor_powersave.c | ||
governor_simpleondemand.c | ||
governor_userspace.c | ||
Kconfig | ||
Makefile |