updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / avermedia_a867 / af903x-drv.c.patch
blobd8ec9301c3f08c0a8ae0bbcb8076560ebd0c5604
1 --- af903x-drv.c.orig 2011-01-23 23:04:35.113333652 +0100
2 +++ af903x-drv.c 2011-01-23 22:47:28.676666674 +0100
3 @@ -1103,8 +1103,11 @@
4 PDC->StreamType = StreamType_DVBT_DATAGRAM;
5 PDC->UsbCtrlTimeOut = 1;
7 - init_MUTEX(&PDC->powerLock);
8 - init_MUTEX(&PDC->tunerLock);
9 + //init_MUTEX(&PDC->powerLock);
10 + //init_MUTEX(&PDC->tunerLock);
11 + sema_init(&PDC->powerLock, 1);
12 + sema_init(&PDC->tunerLock, 1);
14 PDC->power_use_count = 0;
16 PDC->idVendor = udev->descriptor.idVendor;
17 @@ -1116,7 +1119,8 @@
18 PDC->fc[0].AVerFlags = 0x00;
19 PDC->fc[1].AVerFlags = 0x00;
21 - init_MUTEX(&PDC->regLock);
22 + //init_MUTEX(&PDC->regLock);
23 + sema_init(&PDC->regLock, 1);
25 else {
26 PDC->UsbCtrlTimeOut = 5;
27 @@ -1208,5 +1212,4 @@
29 return (error);
31 -//EXPORT_SYMBOL(Device_init);
33 +//EXPORT_SYMBOL(Device_init);
34 \ Manca newline alla fine del file