diff options
-rw-r--r-- | drivers/hwtracing/stm/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/core.c index c7ba8acfd4d5..5b5807cbcf7c 100644 --- a/drivers/hwtracing/stm/core.c +++ b/drivers/hwtracing/stm/core.c | |||
@@ -218,8 +218,8 @@ stm_output_disclaim(struct stm_device *stm, struct stm_output *output) | |||
218 | bitmap_release_region(&master->chan_map[0], output->channel, | 218 | bitmap_release_region(&master->chan_map[0], output->channel, |
219 | ilog2(output->nr_chans)); | 219 | ilog2(output->nr_chans)); |
220 | 220 | ||
221 | output->nr_chans = 0; | ||
222 | master->nr_free += output->nr_chans; | 221 | master->nr_free += output->nr_chans; |
222 | output->nr_chans = 0; | ||
223 | } | 223 | } |
224 | 224 | ||
225 | /* | 225 | /* |