diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2017-08-10 11:10:58 +0300 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2017-08-25 17:58:35 +0300 |
commit | e9b2b3e7933529647a5f284136f5a6bfa9c679ae (patch) | |
tree | c64550365810df725c7ca312904a8973590a4324 /drivers/hwtracing | |
parent | 39fccd2fc33c95de8358451f58c52b9e4b828ddd (diff) | |
download | linux-e9b2b3e7933529647a5f284136f5a6bfa9c679ae.tar.xz |
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.c | 2 |
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; } |