coresight: cti: Correct the parameter for pm_runtime_put
authorTao Zhang <quic_taozha@quicinc.com>
Thu, 19 Aug 2021 09:29:37 +0000 (17:29 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 27 Oct 2021 17:44:26 +0000 (11:44 -0600)
commit692c9a499b286ea478f41b23a91fe3873b9e1326
tree9f80c077395167b78aa7ada8e7d727a19bf14801
parent8d81b2a38ddfc4b03662d2359765648c8b4cc73c
coresight: cti: Correct the parameter for pm_runtime_put

The input parameter of the function pm_runtime_put should be the
same in the function cti_enable_hw and cti_disable_hw. The correct
parameter to use here should be dev->parent.

Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Fixes: 835d722ba10a ("coresight: cti: Initial CoreSight CTI Driver")
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1629365377-5937-1-git-send-email-quic_taozha@quicinc.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-cti-core.c