Skip to content

Commit

Permalink
V4L/DVB (13739): [Mantis] Event Manager: Handle Masked events only
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent d9dd5f7 commit 3062b15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions drivers/media/dvb/mantis/mantis_dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ int __devinit mantis_frontend_init(struct mantis_pci *mantis)

int __devexit mantis_dvb_exit(struct mantis_pci *mantis)
{
mantis_ca_exit(mantis);
tasklet_kill(&mantis->tasklet);
dvb_net_release(&mantis->dvbnet);
mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem);
Expand Down
5 changes: 4 additions & 1 deletion drivers/media/dvb/mantis/mantis_evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ void mantis_hifevm_tasklet(unsigned long data)
struct mantis_ca *ca = (struct mantis_ca *) data;
struct mantis_pci *mantis = ca->ca_priv;

u32 gpif_stat;
u32 gpif_stat, gpif_mask;

gpif_stat = mmread(MANTIS_GPIF_STATUS);
gpif_mask = mmread(MANTIS_GPIF_IRQCFG);
if (!((gpif_stat & 0xff) & (gpif_mask & 0xff)))
return;

if (gpif_stat & MANTIS_GPIF_DETSTAT) {
if (gpif_stat & MANTIS_CARD_PLUGIN) {
Expand Down

0 comments on commit 3062b15

Please sign in to comment.