From 43ab548777d592179b4a2a1c14f6d03e7ccb24be Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Fri, 20 Jul 2018 13:18:27 +0200 Subject: [PATCH] Ensure CAM stability after reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wait 2 secs in low level CI reset function as some CAMs become crazy if we talk to them just after the reset (SmarDTV / TDT Premium). from: faudebert-anevia authored and Richard BĂ©richon committed on Apr 2, 2012 --- frontends/cxd2099.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontends/cxd2099.c b/frontends/cxd2099.c index 90fcd84..21da685 100644 --- a/frontends/cxd2099.c +++ b/frontends/cxd2099.c @@ -590,6 +590,10 @@ static int slot_reset(struct dvb_ca_en50221 *ca, int slot) } } mutex_unlock(&ci->lock); + + /* Ensure cam stability after reset */ + msleep(2000); + return 0; }