File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19145,7 +19145,6 @@ M: Kevin Hilman <khilman@kernel.org>
1914519145L: linux-omap@vger.kernel.org
1914619146S: Maintained
1914719147F: arch/arm/*omap*/*pm*
19148- F: drivers/cpufreq/omap-cpufreq.c
1914919148
1915019149OMAP POWERDOMAIN SOC ADAPTATION LAYER SUPPORT
1915119150M: Paul Walmsley <paul@pwsan.com>
Original file line number Diff line number Diff line change @@ -141,11 +141,6 @@ config ARM_MEDIATEK_CPUFREQ_HW
141141 The driver implements the cpufreq interface for this HW engine.
142142 Say Y if you want to support CPUFreq HW.
143143
144- config ARM_OMAP2PLUS_CPUFREQ
145- bool "TI OMAP2+"
146- depends on ARCH_OMAP2PLUS || COMPILE_TEST
147- default ARCH_OMAP2PLUS
148-
149144config ARM_QCOM_CPUFREQ_NVMEM
150145 tristate "Qualcomm nvmem based CPUFreq"
151146 depends on ARCH_QCOM || COMPILE_TEST
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
6969obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ) += mediatek-cpufreq.o
7070obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ_HW) += mediatek-cpufreq-hw.o
7171obj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o
72- obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
7372obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
7473obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
7574obj-$(CONFIG_ARM_QCOM_CPUFREQ_HW) += qcom-cpufreq-hw.o
Original file line number Diff line number Diff line change @@ -2803,7 +2803,7 @@ static int cpufreq_boost_trigger_state(int state)
28032803{
28042804 struct cpufreq_policy * policy ;
28052805 unsigned long flags ;
2806- int ret = 0 ;
2806+ int ret = - EOPNOTSUPP ;
28072807
28082808 /*
28092809 * Don't compare 'cpufreq_driver->boost_enabled' with 'state' here to
@@ -2820,16 +2820,15 @@ static int cpufreq_boost_trigger_state(int state)
28202820 continue ;
28212821
28222822 ret = policy_set_boost (policy , state );
2823- if (ret )
2824- goto err_reset_state ;
2823+ if (unlikely ( ret ) )
2824+ break ;
28252825 }
2826- cpus_read_unlock ();
28272826
2828- return 0 ;
2829-
2830- err_reset_state :
28312827 cpus_read_unlock ();
28322828
2829+ if (likely (!ret ))
2830+ return 0 ;
2831+
28332832 write_lock_irqsave (& cpufreq_driver_lock , flags );
28342833 cpufreq_driver -> boost_enabled = !state ;
28352834 write_unlock_irqrestore (& cpufreq_driver_lock , flags );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments