[PATCH] PM / devfreq: mediatek: unlock on error in mtk_ccifreq_target()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Oct 12 02:59:18 PDT 2023


Il 12/10/23 11:41, Dan Carpenter ha scritto:
> Call mutex_unlock(&drv->reg_lock) before returning the error code.
> 
> Fixes: d2805601988f ("PM / devfreq: mediatek: protect oop in critical session")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the Linux-mediatek mailing list