summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2017-08-10 10:10:58 +0200
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>2017-08-25 16:58:35 +0200
commite9b2b3e7933529647a5f284136f5a6bfa9c679ae (patch)
treec64550365810df725c7ca312904a8973590a4324 /drivers/hwtracing
parentstm class: Document the stm_ftrace (diff)
downloadlinux-e9b2b3e7933529647a5f284136f5a6bfa9c679ae.tar.xz
linux-e9b2b3e7933529647a5f284136f5a6bfa9c679ae.zip
intel_th: pci: Enable bus mastering
The driver forgets to enable bus mastering for the PCI device. Fix this. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Diffstat (limited to 'drivers/hwtracing')
-rw-r--r--drivers/hwtracing/intel_th/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwtracing/intel_th/pci.c b/drivers/hwtracing/intel_th/pci.c
index 590cf90dd21a..aac7d66d6adf 100644
--- a/drivers/hwtracing/intel_th/pci.c
+++ b/drivers/hwtracing/intel_th/pci.c
@@ -46,6 +46,8 @@ static int intel_th_pci_probe(struct pci_dev *pdev,
if (IS_ERR(th))
return PTR_ERR(th);
+ pci_set_master(pdev);
+
return 0;
}