[media] solo6x10: also stop DMA if the SOLO_PCI_ERR_P2M_DESC is raised
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 15 Mar 2013 14:16:56 +0000 (11:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:48:28 +0000 (08:48 -0300)
Otherwise the computer will hang.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/p2m.c

index a77c8d9ed0bf613064ef8affedbe7d69f6b1061c..333594189b81e74e8ac83141b55d2d8f8b8737c5 100644 (file)
@@ -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++) {