diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2017-08-10 04:10:58 -0400 |
---|---|---|
committer | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2017-08-25 10:58:35 -0400 |
commit | e9b2b3e7933529647a5f284136f5a6bfa9c679ae (patch) | |
tree | c64550365810df725c7ca312904a8973590a4324 /drivers/hwtracing/intel_th | |
parent | 39fccd2fc33c95de8358451f58c52b9e4b828ddd (diff) |
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/intel_th')
-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, | |||
46 | if (IS_ERR(th)) | 46 | if (IS_ERR(th)) |
47 | return PTR_ERR(th); | 47 | return PTR_ERR(th); |
48 | 48 | ||
49 | pci_set_master(pdev); | ||
50 | |||
49 | return 0; | 51 | return 0; |
50 | } | 52 | } |
51 | 53 | ||