Skip to content

Commit

Permalink
[media] solo6x10: also stop DMA if the SOLO_PCI_ERR_P2M_DESC is raised
Browse files Browse the repository at this point in the history
Otherwise the computer will hang.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 25, 2013
1 parent 4c211ed commit 4718892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/solo6x10/p2m.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 4718892

Please sign in to comment.