Commit 603980ce authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Merge tag 'stm-fixes-for-greg-20170315' of...

Merge tag 'stm-fixes-for-greg-20170315' of git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm into char-misc-linus

Alexander writes:

intel_th: Fixes for 4.11

These are:
 * fix for a module refcount leak
 * two new PCI IDs
parents 4495c08e 340837f9
...@@ -221,8 +221,10 @@ static int intel_th_output_activate(struct intel_th_device *thdev) ...@@ -221,8 +221,10 @@ static int intel_th_output_activate(struct intel_th_device *thdev)
else else
intel_th_trace_enable(thdev); intel_th_trace_enable(thdev);
if (ret) if (ret) {
pm_runtime_put(&thdev->dev); pm_runtime_put(&thdev->dev);
module_put(thdrv->driver.owner);
}
return ret; return ret;
} }
......
...@@ -85,6 +85,16 @@ static const struct pci_device_id intel_th_pci_id_table[] = { ...@@ -85,6 +85,16 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa2a6), PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa2a6),
.driver_data = (kernel_ulong_t)0, .driver_data = (kernel_ulong_t)0,
}, },
{
/* Denverton */
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x19e1),
.driver_data = (kernel_ulong_t)0,
},
{
/* Gemini Lake */
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x318e),
.driver_data = (kernel_ulong_t)0,
},
{ 0 }, { 0 },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment