From cb4834cca0c8587945788d9d73854daecbbac5ce Mon Sep 17 00:00:00 2001 From: Florent Audebert Date: Mon, 2 Apr 2012 12:37:12 +0200 Subject: [PATCH] Ensure CAM stability after reset 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). --- frontends/cxd2099.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontends/cxd2099.c b/frontends/cxd2099.c index 90fcd84..2623328 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; }