diff --git a/fthd_drv.c b/fthd_drv.c index f8377f6..95afbac 100644 --- a/fthd_drv.c +++ b/fthd_drv.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -376,6 +377,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;