diff options
author | Patrick Boettcher <devnull@localhost> | 2004-10-26 14:10:12 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2004-10-26 14:10:12 +0000 |
commit | f49b28cb00eca5493b3a155e51da67e145c30d93 (patch) | |
tree | ff7c59a2548cb965cb367c2ec67cc5ea89664b91 /linux/drivers/media | |
parent | 0b0db6f507ff608fc6fc8810be6b3400623b9803 (diff) | |
download | mediapointer-dvb-s2-f49b28cb00eca5493b3a155e51da67e145c30d93.tar.gz mediapointer-dvb-s2-f49b28cb00eca5493b3a155e51da67e145c30d93.tar.bz2 |
spinlock initilization added (thanks to Philipp Stucke)
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c index df25cfd76..f6854f443 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c @@ -555,6 +555,7 @@ static int dibusb_init(struct usb_dibusb *dib) } } + dib->pid_list_lock = SPIN_LOCK_UNLOCKED; for (i=0; i < DIBUSB_MAX_PIDS; i++) { dib->pid_list[i].reg = i+DIB3000MB_REG_FIRST_PID; dib->pid_list[i].pid = 0; |