Skip to content
Snippets Groups Projects
Commit 45e3ec37 authored by Stephen Warren's avatar Stephen Warren Committed by Mike Turquette
Browse files

clk: tegra: fix ifdef for tegra_periph_reset_assert inline


Commit 7064f6bd "clk: tegra: provide tegra_periph_reset_assert
alternative" added ifdef'd static inline versions of some functions,
but tested ARCH_TEGRA rather than CONFIG_ARCH_TEGRA, thus disabling
these function in all cases. In some cases, this caused HW modules to
misbehave; for example, the Tegra I2C driver BUG()d during boot on
Seaboard.

Reported-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Tested-by: default avatarPaul Walmsley <pwalmsley@nvidia.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 7064f6bd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment