linux/drivers/devfreq
Nishanth Menon 12e26265e6 PM / devfreq: fix sscanf handling for writable sysfs entries
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>
2012-11-15 00:35:05 +01:00
..
devfreq.c PM / devfreq: fix sscanf handling for writable sysfs entries 2012-11-15 00:35:05 +01:00
exynos4_bus.c ARM: global cleanups 2012-03-27 16:03:32 -07:00
governor_performance.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor_powersave.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor_simpleondemand.c PM / devfreq: Add suspend and resume apis 2012-11-15 00:35:04 +01:00
governor_userspace.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor.h PM / devfreq: Add suspend and resume apis 2012-11-15 00:35:04 +01:00
Kconfig Fix typo in various Kconfig file 2012-04-16 14:40:08 +02:00
Makefile PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412. 2011-12-20 14:08:08 +09:00