coresight: Remove erroneous dma_free_coherent in tmc_probe
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 21 Jun 2016 16:10:48 +0000 (17:10 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 14:24:32 +0000 (08:24 -0600)
commit45efb6bb0638e969cc32d30cedbbcd5235f4bc69
treecfe121a0ebf37f732e67dc41697a58af9e2fed65
parentbbdc4196ca8e13901ad5ccc093f2930c48975951
coresight: Remove erroneous dma_free_coherent in tmc_probe

commit de5461970b3e9e194 ("coresight: tmc: allocating memory when needed")
removed the static allocation of buffer for the trace data in ETR mode in
tmc_probe. However it failed to remove the "devm_free_coherent" in
tmc_probe when the probe fails due to other reasons. This patch gets
rid of the incorrect dma_free_coherent() call.

Fixes: commit de5461970b3e9e194 ("coresight: tmc: allocating memory when needed")
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-tmc.c
This page took 0.024779 seconds and 5 git commands to generate.