acivate CAM race condition handler

This commit is contained in:
Ralph Metzler 2017-07-18 00:26:09 +02:00
parent e68ce2ef62
commit 6d1cfd4cd2
1 changed files with 2 additions and 2 deletions

View File

@ -768,7 +768,7 @@ static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, u8 * b
status = -EAGAIN;
goto exit;
}
#if 0
/* It may need some time for the CAM to settle down, or there might be a
race condition between the CAM, writing HC and our last check for DA.
This happens, if the CAM asserts DA, just after checking DA before we
@ -786,7 +786,7 @@ static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, u8 * b
status = -EAGAIN;
goto exit;
}
#endif
/* send the amount of data */
if ((status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_HIGH, bytes_write >> 8)) != 0)
goto exit;