diff --git a/fthd_drv.c b/fthd_drv.c index fe91381..2b3f33d 100644 --- a/fthd_drv.c +++ b/fthd_drv.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -375,6 +376,10 @@ static int fthd_pci_init(struct fthd_private *dev_priv) return ret; } + /* ASPM must be disabled on the device or it hangs while streaming */ + pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1 | + PCIE_LINK_STATE_CLKPM); + ret = fthd_pci_reserve_mem(dev_priv); if (ret) goto fail_enable;