patch to increase IIC_RETRY_NUM to fix setting resolution on HI10 [release 20170125git-3mamba;Fri Feb 24 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 21:12:33 +01:00
parent 5ad568ab92
commit 7e3451eb93
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Nru chuwi-dev-20170125git.orig/drivers/chipone_ts/chipone.h chuwi-dev-20170125git/drivers/chipone_ts/chipone.h
--- chuwi-dev-20170125git.orig/drivers/chipone_ts/chipone.h 2017-01-25 11:41:59.000000000 +0100
+++ chuwi-dev-20170125git/drivers/chipone_ts/chipone.h 2017-02-24 16:41:38.283840348 +0100
@@ -1,7 +1,7 @@
#ifndef CHIPONE_H
#define CHIPONE_H
-#define CHIPONE_IIC_RETRY_NUM 3
+#define CHIPONE_IIC_RETRY_NUM 30
#define CHIPONE_DRIVER_NAME "chipone_ts"
#define CHIPONE_NAME "CHPN0001"

View File

@ -1,6 +1,6 @@
Name: chipone_ts
Version: 20170125git
Release: 2mamba
Release: 3mamba
Summary: Touchsreen kernel driver for Chuwi tablets
Group: System/Kernel and Hardware
Vendor: openmamba
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/Dax89/chuwi-dev
## GITSOURCE https://github.com/Dax89/chuwi-dev.git master
Source: https://github.com/Dax89/chuwi-dev.git/master/chuwi-dev-%{version}.tar.bz2
Patch0: chipone_ts-20170125git-hi10-iic_retry.patch
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
@ -19,6 +20,7 @@ Touchsreen kernel driver for Chuwi tablets.
%prep
%setup -q -n chuwi-dev-%{version}
%patch0 -p1
%build
@ -63,6 +65,9 @@ fi
%{_prefix}/src/%{name}-%{version}/*
%changelog
* Fri Feb 24 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20170125git-3mamba
- patch to increase IIC_RETRY_NUM to fix setting resolution on HI10
* Tue Jan 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20170125git-2mamba
- add %preun and %post code for dkms support