mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 17:40:53 +07:00
560d1bcad7
_set_opp_custom() receives a set of OPP supplies as its arguments and
the caller of it passes NULL when the supplies are not valid. But
_set_opp_custom(), by mistake, checks for error by performing
IS_ERR(old_supply) on it which will always evaluate to false.
The problem was spotted during of testing of upcoming update for the
NVIDIA Tegra CPUFreq driver.
Cc: stable <stable@vger.kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
cpu.c | ||
debugfs.c | ||
Kconfig | ||
Makefile | ||
of.c | ||
opp.h | ||
ti-opp-supply.c |