mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
V4L/DVB (13763): [Mantis] HIF I/O: trim delays a bit appropriately
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
88a6fa9dfe
commit
8e0d58ecee
1 changed files with 2 additions and 2 deletions
|
@ -133,11 +133,11 @@ int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr)
|
|||
dprintk(verbose, MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Smart Buffer operation failed", mantis->num);
|
||||
return -EREMOTEIO;
|
||||
}
|
||||
udelay(50);
|
||||
ca->hif_job_queue &= ~MANTIS_HIF_IOMRD;
|
||||
data = mmread(MANTIS_GPIF_DIN);
|
||||
hif_addr |= MANTIS_GPIF_PCMCIAREG;
|
||||
mmwrite(hif_addr, MANTIS_GPIF_ADDR);
|
||||
udelay(50);
|
||||
|
||||
return (u8) data;
|
||||
}
|
||||
|
@ -162,10 +162,10 @@ int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u8 data)
|
|||
dprintk(verbose, MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Smart Buffer operation failed", mantis->num);
|
||||
return -EREMOTEIO;
|
||||
}
|
||||
udelay(50);
|
||||
ca->hif_job_queue &= ~MANTIS_HIF_IOMWR;
|
||||
hif_addr |= MANTIS_GPIF_PCMCIAREG;
|
||||
mmwrite(hif_addr, MANTIS_GPIF_ADDR);
|
||||
udelay(50);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue