diff options
author | Andrew de Quincy <devnull@localhost> | 2004-04-14 10:28:29 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2004-04-14 10:28:29 +0000 |
commit | 5d5774fbc949110a27fd9c0cc26bde524bff4deb (patch) | |
tree | b30d8f3ed7a9aac4539a75f7ae3e9b616db9fe63 /linux/drivers/media/dvb/dvb-core | |
parent | e5af0c3968caf20aa8270ba0ec5b9d1e447b4f61 (diff) | |
download | mediapointer-dvb-s2-5d5774fbc949110a27fd9c0cc26bde524bff4deb.tar.gz mediapointer-dvb-s2-5d5774fbc949110a27fd9c0cc26bde524bff4deb.tar.bz2 |
Removed configoption readback test since it is unreliable
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c | 7 |
1 files changed, 3 insertions, 4 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 068c49e48..0f8bfef80 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c @@ -519,9 +519,8 @@ static int dvb_ca_en50221_set_configoption(struct dvb_ca_private* ca, int slot) /* check it */ configoption = ca->pub->read_attribute_mem(ca->pub, slot, ca->slot_info[slot].config_base); - if ((configoption & 0x3f) != ca->slot_info[slot].config_option) { - return -EINVAL; - } + dprintk("Set configoption 0x%x, read configoption 0x%x\n", + ca->slot_info[slot].config_option, configoption & 0x3f); /* fine! */ return 0; @@ -611,7 +610,7 @@ static int dvb_ca_en50221_read_data(struct dvb_ca_private* ca, int slot, u8* ebu /* OK, store it in the buffer */ buf[i] = status; - } + } /* check for read error (RE should now go to 0) */ if ((status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS)) < 0) goto exit; |