summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2012-10-25 23:50:43 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 23:35:05 (GMT)
commit12e26265e6225bf93b2fdc70399774b31e2dd980 (patch)
tree623fba6c1690ab23f8aeed388be9dfb3506ef07e /Documentation/auxdisplay
parentc5b4a1c15da3e6f472c6ff1a085a1134d18a1464 (diff)
downloadlinux-fsl-qoriq-12e26265e6225bf93b2fdc70399774b31e2dd980.tar.xz
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>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions