]> git.baikalelectronics.ru Git - kernel.git/commit
memory: samsung: exynos5422-dmc: Add module param to control IRQ mode
authorLukasz Luba <lukasz.luba@arm.com>
Fri, 10 Jul 2020 19:11:22 +0000 (20:11 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 30 Jul 2020 08:22:57 +0000 (17:22 +0900)
commit1aed5c7f7d60ed51d22d49d5890fb9a30f0bd626
treefde2894800993492d63e8401c2eea073a01d9032
parentf18b0ef0225150b09c29e486ff02c156313461f2
memory: samsung: exynos5422-dmc: Add module param to control IRQ mode

The driver can operate in two modes relaying on devfreq monitoring
mechanism which periodically checks the device status or it can use
interrupts when they are provided by loaded Device Tree. The newly
introduced module parameter can be used to choose between devfreq
monitoring and internal interrupts without modifying the Device Tree.
It also sets devfreq monitoring as default when the parameter is not set
(also the case for default when the driver is not built as a module).

Reported-by: Willy Wolff <willy.mh.wolff.ml@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/memory/samsung/exynos5422-dmc.c