diff --git a/chipone_ts-20170125git-hi10-iic_retry.patch b/chipone_ts-20170125git-hi10-iic_retry.patch new file mode 100644 index 0000000..b842534 --- /dev/null +++ b/chipone_ts-20170125git-hi10-iic_retry.patch @@ -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" + diff --git a/chipone_ts.spec b/chipone_ts.spec index 16de530..491166d 100644 --- a/chipone_ts.spec +++ b/chipone_ts.spec @@ -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 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 20170125git-3mamba +- patch to increase IIC_RETRY_NUM to fix setting resolution on HI10 + * Tue Jan 31 2017 Silvan Calarco 20170125git-2mamba - add %preun and %post code for dkms support