Skip to content

Commit 54dec69

Browse files
arndbrafaeljw
authored andcommitted
PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency
The newly added ARM_RK3399_DMC_DEVFREQ driver requires the DEVFREQ_EVENT_ROCKCHIP_DFI driver and tries to turn that on through a 'select' statement, and that in turn has a dependency on PM_DEVFREQ_EVENT, which may be disabled here: warning: (ARM_RK3399_DMC_DEVFREQ) selects DEVFREQ_EVENT_ROCKCHIP_DFI which has unmet direct dependencies (PM_DEVFREQ && PM_DEVFREQ_EVENT && ARCH_ROCKCHIP) We probably want a 'depends on' here, but other drivers use 'select' too, so for consistency I'm doing the same. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: 5a893e3 (PM / devfreq: rockchip: add devfreq driver for rk3399 dmc) Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 290128a commit 54dec69

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/devfreq/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ config ARM_RK3399_DMC_DEVFREQ
105105
depends on ARCH_ROCKCHIP
106106
select DEVFREQ_EVENT_ROCKCHIP_DFI
107107
select DEVFREQ_GOV_SIMPLE_ONDEMAND
108+
select PM_DEVFREQ_EVENT
108109
select PM_OPP
109110
help
110111
This adds the DEVFREQ driver for the RK3399 DMC(Dynamic Memory Controller).

0 commit comments

Comments
 (0)