public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* flag DVB_CA_EN50221_POLL_CAM_READY
@ 2011-08-20 20:53 Antti Palosaari
  0 siblings, 0 replies; only message in thread
From: Antti Palosaari @ 2011-08-20 20:53 UTC (permalink / raw)
  To: linux-media@vger.kernel.org

Why this flag is defined?

I don't see how interface driver can know CAM is ready (after plug or
reset) unless it reads that info from CAM itself. Thus, I think correct
behaviour should be move that detection functionality to the EN50221 CA
core.

Looking from existing drivers can confirm that. Those just returns that
flag when CAM is present (plugged in slot) with
DVB_CA_EN50221_POLL_CAM_PRESENT flag. OR read directly CAM memory to see
it answers and set flag according to that (which should be job of
EN50221 CA core IMHO).

regards
Antti
-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-20 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-20 20:53 flag DVB_CA_EN50221_POLL_CAM_READY Antti Palosaari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox