From 119b59cd0df00269bfe51d906657193217b8c884 Mon Sep 17 00:00:00 2001
From: Chris Larson <clarson@kergoth.com>
Date: Thu, 25 Nov 2004 10:19:50 +0000
Subject: Remove the EOLN_NATIVE flag from a ton of files (patches & the like
 for which line ending conversions can break things).

BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
---
 tslib/tslib/initialize_djs.patch | 20 ++++++++++++++++++++
 tslib/tslib/omap1610h2/tslib.sh  |  5 +++++
 2 files changed, 25 insertions(+)

(limited to 'tslib')

diff --git a/tslib/tslib/initialize_djs.patch b/tslib/tslib/initialize_djs.patch
index e69de29bb2..bfd8d1cc18 100644
--- a/tslib/tslib/initialize_djs.patch
+++ b/tslib/tslib/initialize_djs.patch
@@ -0,0 +1,20 @@
+Sometimes after ts_open/ts_close/ts_open on the first
+sample(s) dejitter will crash (sorry no backtrace)
+
+memsetting tslib_dejitter so djt->nr is not random anymore
+
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- tslib/plugins/dejitter.c~initialize_djs
++++ tslib/plugins/dejitter.c
+@@ -205,6 +205,7 @@
+ 	if (djt == NULL)
+ 		return NULL;
+ 
++	memset(djt, 0, sizeof(struct tslib_dejitter));
+ 	djt->module.ops = &dejitter_ops;
+ 
+ 	djt->delta = 100;
diff --git a/tslib/tslib/omap1610h2/tslib.sh b/tslib/tslib/omap1610h2/tslib.sh
index e69de29bb2..040f4de3d5 100644
--- a/tslib/tslib/omap1610h2/tslib.sh
+++ b/tslib/tslib/omap1610h2/tslib.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/event1
+
+export TSLIB_TSDEVICE
-- 
cgit v1.2.3