summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2005-07-24 16:31:58 +0000
committerJohannes Stezenbach <devnull@localhost>2005-07-24 16:31:58 +0000
commitd6c137977ba098ca4c2f6b8abca786006536ac8a (patch)
treec619677c23b0baac55bdc0a79f442665643162d8 /linux/drivers/media/dvb/dvb-core
parentb66085a762a9e94bb16ee9fc96381dcb4713a46a (diff)
downloadmediapointer-dvb-s2-d6c137977ba098ca4c2f6b8abca786006536ac8a.tar.gz
mediapointer-dvb-s2-d6c137977ba098ca4c2f6b8abca786006536ac8a.tar.bz2
gcc-2.95 compile fix
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
index b9d596883..246f7c7d6 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
@@ -800,9 +800,10 @@ EXPORT_SYMBOL(dvb_ca_en50221_camchange_irq);
*/
static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot)
{
- dprintk("%s\n", __FUNCTION__);
unsigned long irqsave;
+ dprintk("%s\n", __FUNCTION__);
+
write_lock_irqsave(&ca->slot_info[slot].lock, irqsave);
ca->pub->slot_shutdown(ca->pub, slot);
ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;