From: Andy Walls Date: Wed, 10 Feb 2010 18:34:46 +0000 (-0300) Subject: V4L/DVB: ivtv: Fix ivtv_api_get_data() to avoid unneeded IO during IRQ handling X-Git-Tag: v2.6.34-rc1~280^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=587808d5f59e842f9258a15e88ad530fcf6e6763;p=pandora-kernel.git V4L/DVB: ivtv: Fix ivtv_api_get_data() to avoid unneeded IO during IRQ handling ivtv_api_get_data() was performing more PCI MMIO than needed, resulting often in it accounting for more than half the total time spent in ivtv_irq_handler(). Now it only reads at most 7 of the 16 mailbox data words over the PCI bus, and in some instances only 2 or 3 data words as needed. Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed