diff options
author | Roberto Neri <rneri@libero.it> | 2011-09-09 16:24:27 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-09-21 19:48:32 -0300 |
commit | eb7cd0a2fbb41dff9476d0ce8b2a36783c2930b0 (patch) | |
tree | 817c5ba936f4d1965459f33137af1b419362868d /system/avermedia-a867/af903x-drv.c.patch | |
parent | ea86c13700381239f82666684ab953c141c9f0bb (diff) | |
download | slackbuilds-eb7cd0a2fbb41dff9476d0ce8b2a36783c2930b0.tar.gz |
system/avermedia-a867: Added (AVerMedia A867 DVB-T kernel module)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/avermedia-a867/af903x-drv.c.patch')
-rw-r--r-- | system/avermedia-a867/af903x-drv.c.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/system/avermedia-a867/af903x-drv.c.patch b/system/avermedia-a867/af903x-drv.c.patch new file mode 100644 index 0000000000..d8ec9301c3 --- /dev/null +++ b/system/avermedia-a867/af903x-drv.c.patch @@ -0,0 +1,34 @@ +--- af903x-drv.c.orig 2011-01-23 23:04:35.113333652 +0100 ++++ af903x-drv.c 2011-01-23 22:47:28.676666674 +0100 +@@ -1103,8 +1103,11 @@ + PDC->StreamType = StreamType_DVBT_DATAGRAM;
+ PDC->UsbCtrlTimeOut = 1;
+
+- init_MUTEX(&PDC->powerLock);
+- init_MUTEX(&PDC->tunerLock);
++ //init_MUTEX(&PDC->powerLock);
++ //init_MUTEX(&PDC->tunerLock);
++ sema_init(&PDC->powerLock, 1);
++ sema_init(&PDC->tunerLock, 1);
++
+ PDC->power_use_count = 0;
+
+ PDC->idVendor = udev->descriptor.idVendor;
+@@ -1116,7 +1119,8 @@ + PDC->fc[0].AVerFlags = 0x00;
+ PDC->fc[1].AVerFlags = 0x00;
+
+- init_MUTEX(&PDC->regLock);
++ //init_MUTEX(&PDC->regLock);
++ sema_init(&PDC->regLock, 1);
+ }
+ else {
+ PDC->UsbCtrlTimeOut = 5;
+@@ -1208,5 +1212,4 @@ +
+ return (error);
+ }
+-//EXPORT_SYMBOL(Device_init);
+-
++//EXPORT_SYMBOL(Device_init); +\ Manca newline alla fine del file |