ARM: tegra: Fix some whitespace oddities
Subsystems (3)
PATCH 1/2 ARM: tegra: Fix some whitespace oddities
Some of the powergate code uses unusual spacing around == and has a tab instead of a space before an opening parenthesis.
Signed-off-by Thierry Reding <[email protected]>
--- arch/arm/mach-tegra/powergate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-tegra/powergate.c +2 -2
@@ -147,9 +147,9 @@ int tegra_powergate_remove_clamping(int id)* Tegra 2 has a bug where PCIE and VDE clamping masks are * swapped relatively to the partition ids */ -if (id ==TEGRA_POWERGATE_VDEC ) +if (id ==TEGRA_POWERGATE_VDEC ) mask = (1 <<TEGRA_POWERGATE_PCIE ); -else if (id ==TEGRA_POWERGATE_PCIE ) +else if (id ==TEGRA_POWERGATE_PCIE ) mask = (1 <<TEGRA_POWERGATE_VDEC );else mask = (1 << id);
Signature · 1 line
1.8.4.2
A message that is not in the archive (sent off-list or not yet received): 1386343633-2137-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
PATCH 2/2 ARM: tegra: Rename cpu0 powergate to crail
This matches the name of the powergate as listed in the TRM.
Signed-off-by Thierry Reding <[email protected]>
--- arch/arm/mach-tegra/powergate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-tegra/powergate.c +1 -1
@@ -259,7 +259,7 @@ static const char * const powergate_name_t30[] = { };static const char *const powergate_name_t114[] = { - [TEGRA_POWERGATE_CPU ] ="cpu0" , + [TEGRA_POWERGATE_CPU ] ="crail" , [TEGRA_POWERGATE_3D ] ="3d" , [TEGRA_POWERGATE_VENC ] ="venc" , [TEGRA_POWERGATE_VDEC ] ="vdec" ,
Signature · 1 line
1.8.4.2
Stephen Warren
AppliedQuoted 2 lines · Thierry Reding
Some of the powergate code uses unusual spacing around == and has a tab instead of a space before an opening parenthesis.
I've applied the series to Tegra's for-3.14/soc branch.