summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/intel_th/sth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwtracing/intel_th/sth.c')
-rw-r--r--drivers/hwtracing/intel_th/sth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwtracing/intel_th/sth.c b/drivers/hwtracing/intel_th/sth.c
index 3a1f4e650378..a1529f571491 100644
--- a/drivers/hwtracing/intel_th/sth.c
+++ b/drivers/hwtracing/intel_th/sth.c
@@ -161,9 +161,7 @@ static int sth_stm_link(struct stm_data *stm_data, unsigned int master,
{
struct sth_device *sth = container_of(stm_data, struct sth_device, stm);
- intel_th_set_output(to_intel_th_device(sth->dev), master);
-
- return 0;
+ return intel_th_set_output(to_intel_th_device(sth->dev), master);
}
static int intel_th_sw_init(struct sth_device *sth)