Commit a4e7a8c4 authored by Tao Zhang's avatar Tao Zhang Committed by Greg Kroah-Hartman
Browse files

coresight: cti: Correct the parameter for pm_runtime_put



commit 692c9a49 upstream.

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: default avatarTao Zhang <quic_taozha@quicinc.com>
Reviewed-by: default avatarLeo Yan <leo.yan@linaro.org>
Fixes: 835d722b ("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: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 46709163
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment