[PATCH] clk: tegra: fix ifdef for tegra_periph_reset_assert inline

Paul Walmsley pwalmsley at nvidia.com
Mon Jun 24 17:07:19 EDT 2013


On 06/24/2013 12:05 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Commit 7064f6b "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: Olof Johansson <olof at lixom.net>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Tested-by: Paul Walmsley <pwalmsley at nvidia.com> # for the Tegra30 Beaver
board

Stephen pointed me at this patch to fix the boot on Tegra30 Beaver boad
with linux-next 20130624.  Thanks Stephen!

- Paul



More information about the linux-arm-kernel mailing list