|
@@ -49,6 +49,7 @@
|
|
*
|
|
*
|
|
*****************************************************************************/
|
|
*****************************************************************************/
|
|
#include "iwl-trans.h"
|
|
#include "iwl-trans.h"
|
|
|
|
+#include "iwl-prph.h"
|
|
#include "iwl-context-info.h"
|
|
#include "iwl-context-info.h"
|
|
#include "internal.h"
|
|
#include "internal.h"
|
|
|
|
|
|
@@ -156,6 +157,11 @@ void _iwl_trans_pcie_gen2_stop_device(struct iwl_trans *trans, bool low_power)
|
|
|
|
|
|
trans_pcie->is_down = true;
|
|
trans_pcie->is_down = true;
|
|
|
|
|
|
|
|
+ /* Stop dbgc before stopping device */
|
|
|
|
+ iwl_write_prph(trans, DBGC_IN_SAMPLE, 0);
|
|
|
|
+ udelay(100);
|
|
|
|
+ iwl_write_prph(trans, DBGC_OUT_CTRL, 0);
|
|
|
|
+
|
|
/* tell the device to stop sending interrupts */
|
|
/* tell the device to stop sending interrupts */
|
|
iwl_disable_interrupts(trans);
|
|
iwl_disable_interrupts(trans);
|
|
|
|
|