Skip to contentSkip to conversation

tegra: syncpt: Move syncpt handling to syncpt.c

PATCH New Robert Morell 1 participant 1 message Apr 7, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tegra: syncpt: Move syncpt handling to syncpt.c

From: Colin Cross <[email protected]>

---

Colin, this patch is missing from the linux-tegra-2.6.36, linux-tegra-2.6.37 branches (as well as their android- variants). I cherry-picked it from the android-tegra-2.6.36-honeycomb tree (the only changes were to remove the ChangeId and add my S-o-b). It was applied to the chromeos-2.6.36 and chromeos-2.6.37 trees a while back as well.

I've tripped over this when bringing up both Seaboard and Trimslice devices on branches based on linux-tegra-2.6.36; the symptom of not having this patch is that we never get syncpoint threshold interrupt notification and end up hanging the first time we wait for one.

Can this be pulled into the linux-tegra branches so that nobody else trips on this?

Thanks.

 arch/arm/mach-tegra/Makefile |    1 +
 arch/arm/mach-tegra/syncpt.c |  100 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-tegra/syncpt.c
arch/arm/mach-tegra/Makefile +1 -0
index 6d50f34..356ee56 100644
@@ -1,6 +1,7 @@
 obj-y                                   += common.o
 obj-y                                   += io.o
 obj-y                                   += irq.o legacy_irq.o
+obj-y					+= syncpt.o
 obj-y                                   += clock.o
 obj-y                                   += dvfs.o
 obj-y                                   += timer.o
arch/arm/mach-tegra/syncpt.c new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
1.7.3.4