summaryrefslogtreecommitdiff
path: root/drivers/media/pci/saa7164/saa7164.h
diff options
context:
space:
mode:
authorBrendan McGrath <redmcg@redmandi.dyndns.org>2015-04-10 03:39:22 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-14 18:33:02 -0300
commit77978089ddc90347644cc057e6b6cd169ac9abd4 (patch)
treedefefbe8a0e6389301a87aefa18029e78f7c0c59 /drivers/media/pci/saa7164/saa7164.h
parent4c12adad26f059fa207d6b07aa61f39bc459211b (diff)
[media] saa7164: use an MSI interrupt when available
Enhances driver to use an MSI interrupt when available. Adds the module option 'enable_msi' (type bool) which by default is enabled. Can be set to 'N' to disable. Fixes (or can reduce the occurrence of) a crash which is most commonly reported when both digital tuners of the saa7164 chip is in use. A reported example can be found here: http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/83948 Reviewed-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Brendan McGrath <redmcg@redmandi.dyndns.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7164/saa7164.h')
-rw-r--r--drivers/media/pci/saa7164/saa7164.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/saa7164/saa7164.h b/drivers/media/pci/saa7164/saa7164.h
index 138f7f93ee7d..18906e0c80e1 100644
--- a/drivers/media/pci/saa7164/saa7164.h
+++ b/drivers/media/pci/saa7164/saa7164.h
@@ -464,6 +464,7 @@ struct saa7164_dev {
/* Interrupt status and ack registers */
u32 int_status;
u32 int_ack;
+ bool msi;
struct cmd cmds[SAA_CMD_MAX_MSG_UNITS];
struct mutex lock;