brcm2708: update linux 4.4 patches to latest version
[librecmc/librecmc.git] / target / linux / brcm2708 / patches-4.4 / 0219-Revert-cpufreq-Temporarily-ignore-io_is_busy-1.patch
1 From c486342fb4b09f5d676a213cdf7e366b72e528f3 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 30 Mar 2016 20:18:38 +0100
4 Subject: [PATCH 219/304] Revert "cpufreq: Temporarily ignore io_is_busy=1"
5
6 This reverts commit 2af1218a8a0220fec526f64d03977b8451afb4c8.
7 ---
8  drivers/cpufreq/cpufreq_ondemand.c | 7 +------
9  1 file changed, 1 insertion(+), 6 deletions(-)
10
11 --- a/drivers/cpufreq/cpufreq_ondemand.c
12 +++ b/drivers/cpufreq/cpufreq_ondemand.c
13 @@ -307,12 +307,7 @@ static ssize_t store_io_is_busy(struct d
14         ret = sscanf(buf, "%u", &input);
15         if (ret != 1)
16                 return -EINVAL;
17 -       // XXX temporary hack
18 -       if (input > 1)
19 -               input = 1;
20 -       else
21 -               input = 0;
22 -       od_tuners->io_is_busy = input;
23 +       od_tuners->io_is_busy = !!input;
24  
25         /* we need to re-evaluate prev_cpu_idle */
26         for_each_online_cpu(j) {