Dmitry Osipenko
d49eeb1e83
PM / devfreq: tegra30: Keep interrupt disabled while governor is stopped
...
There is no real need to keep interrupt always-enabled, will be nicer
to keep it disabled while governor is inactive.
Suggested-by: Thierry Reding <thierry.reding@gmail.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Tested-by: Peter Geis <pgwipeout@gmail.com >
Signed-off-by: Dmitry Osipenko <digetx@gmail.com >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
2019-11-06 12:04:00 +09:00
Dmitry Osipenko
dccdea01ad
PM / devfreq: tegra30: Change irq type to unsigned int
...
IRQ numbers are always positive, hence the corresponding variable should
be unsigned to keep types consistent. This is a minor change that cleans
up code a tad more.
Suggested-by: Thierry Reding <thierry.reding@gmail.com >
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com >
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Tested-by: Peter Geis <pgwipeout@gmail.com >
Signed-off-by: Dmitry Osipenko <digetx@gmail.com >
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com >
2019-11-06 12:04:00 +09:00
Dmitry Osipenko
2360175291
PM / devfreq: tegra: Rename tegra-devfreq.c to tegra30-devfreq.c
...
In order to reflect that driver serves NVIDIA Tegra30 and later SoC
generations, let's rename the driver's source file to "tegra30-devfreq.c".
This will make driver files to look more consistent after addition of a
driver for Tegra20.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com >
Signed-off-by: Dmitry Osipenko <digetx@gmail.com >
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com >
2019-08-24 20:11:12 +09:00