Commit 4718892f authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] solo6x10: also stop DMA if the SOLO_PCI_ERR_P2M_DESC is raised

Otherwise the computer will hang.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4c211ed7
...@@ -198,7 +198,7 @@ void solo_p2m_error_isr(struct solo_dev *solo_dev) ...@@ -198,7 +198,7 @@ void solo_p2m_error_isr(struct solo_dev *solo_dev)
struct solo_p2m_dev *p2m_dev; struct solo_p2m_dev *p2m_dev;
int i; int i;
if (!(err & SOLO_PCI_ERR_P2M)) if (!(err & (SOLO_PCI_ERR_P2M | SOLO_PCI_ERR_P2M_DESC)))
return; return;
for (i = 0; i < SOLO_NR_P2M; i++) { for (i = 0; i < SOLO_NR_P2M; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment