diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-03-30 09:48:45 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-30 09:48:58 +0200 |
commit | c69f203df3e61414fbf1a66d130abfd7c3bf3fd0 (patch) | |
tree | a6850417a1871f7bf321ef0318bd8c43439d7fed /drivers/hwtracing/intel_th/core.c | |
parent | 3906a13a6b4e78fbc0def03a808f091f0dff1b44 (diff) | |
parent | fe82203b63e598c34d96e846dea49679a726fc7a (diff) | |
download | lwn-c69f203df3e61414fbf1a66d130abfd7c3bf3fd0.tar.gz lwn-c69f203df3e61414fbf1a66d130abfd7c3bf3fd0.zip |
Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/hwtracing/intel_th/core.c')
-rw-r--r-- | drivers/hwtracing/intel_th/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c index cdd9b3b26195..7563eceeaaea 100644 --- a/drivers/hwtracing/intel_th/core.c +++ b/drivers/hwtracing/intel_th/core.c @@ -221,8 +221,10 @@ static int intel_th_output_activate(struct intel_th_device *thdev) else intel_th_trace_enable(thdev); - if (ret) + if (ret) { pm_runtime_put(&thdev->dev); + module_put(thdrv->driver.owner); + } return ret; } |