From 4718892f0f8998685ed7980cb723a165030ae50d Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 15 Mar 2013 11:16:56 -0300 Subject: [PATCH] [media] solo6x10: also stop DMA if the SOLO_PCI_ERR_P2M_DESC is raised Otherwise the computer will hang. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/solo6x10/p2m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/solo6x10/p2m.c b/drivers/staging/media/solo6x10/p2m.c index a77c8d9ed0bf..333594189b81 100644 --- a/drivers/staging/media/solo6x10/p2m.c +++ b/drivers/staging/media/solo6x10/p2m.c @@ -198,7 +198,7 @@ void solo_p2m_error_isr(struct solo_dev *solo_dev) struct solo_p2m_dev *p2m_dev; int i; - if (!(err & SOLO_PCI_ERR_P2M)) + if (!(err & (SOLO_PCI_ERR_P2M | SOLO_PCI_ERR_P2M_DESC))) return; for (i = 0; i < SOLO_NR_P2M; i++) { -- 2.20.1