What this patch does: Current implementation of store_freq function in devfreq userspace governor executes further, even if error is returned from sscanf. This will result in setting up wrong frequency value.
This patch adds proper error check to bail out if any error is returned. Santosh Mardi (1): devfreq: add error check for sscanf in userspace governor drivers/devfreq/governor_userspace.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.9.1