projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a851ea2
)
clk: tegra: Add TEGRA_PERIPH_ON_APB flag to I2C
author
Alex Frid
<afrid@nvidia.com>
Tue, 25 Jul 2017 10:34:08 +0000
(13:34 +0300)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Wed, 23 Aug 2017 22:59:33 +0000
(15:59 -0700)
I2C controllers are also on the APB bus and therefor need this flag to handle
resets correctly.
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/tegra/clk-tegra-periph.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/tegra/clk-tegra-periph.c
b/drivers/clk/tegra/clk-tegra-periph.c
index 294bfe40a4f509dbf56672f9beaeafaf514ace06..848255cc0209911ec5781ceb2d09107244bcf659 100644
(file)
--- a/
drivers/clk/tegra/clk-tegra-periph.c
+++ b/
drivers/clk/tegra/clk-tegra-periph.c
@@
-216,7
+216,8
@@
_clk_num, _clk_id) \
TEGRA_INIT_DATA_TABLE(_name, NULL, NULL, _parents, _offset,\
30, MASK(2), 0, 0, 16, 0, TEGRA_DIVIDER_ROUND_UP,\
- _clk_num, 0, _clk_id, _parents##_idx, 0, NULL)
+ _clk_num, TEGRA_PERIPH_ON_APB, _clk_id, \
+ _parents##_idx, 0, NULL)
#define XUSB(_name, _parents, _offset, \
_clk_num, _gate_flags, _clk_id) \