diff options
author | Guillaume Ranquet <granquet@baylibre.com> | 2023-04-14 18:07:46 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-05-04 23:12:11 +0530 |
commit | 714dd3c29a2241fb799586a5b03773103ca50fe5 (patch) | |
tree | 8c2cd988c7d3e0a8dd9c085c81b7bd43c1fd9080 /crypto/seqiv.c | |
parent | a0106132372120dd0abf5ad7636614e5aeb5da08 (diff) |
phy: mediatek: hdmi: mt8195: fix uninitialized variable usage in pll_calc
The ret variable in mtk_hdmi_pll_calc() was used unitialized as reported
by the kernel test robot.
Fix the issue by removing the variable altogether and testing out the
return value of mtk_hdmi_pll_set_hw()
Fixes: 45810d486bb44 ("phy: mediatek: add support for phy-mtk-hdmi-mt8195")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230413-fixes-for-mt8195-hdmi-phy-v2-1-bbad62e64321@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'crypto/seqiv.c')
0 files changed, 0 insertions, 0 deletions