]> git.baikalelectronics.ru Git - kernel.git/commit
phy: samsung-ufs: Fix IS_ERR argument
authorGustavo A. R. Silva <gustavoars@kernel.org>
Mon, 20 Jul 2020 13:27:18 +0000 (08:27 -0500)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 Jul 2020 10:39:11 +0000 (16:09 +0530)
commit955aa84a58740ca6dd3a0e78321e5630431e36f1
tree2dbe1c4caa6887ac8b9c56c59097213c3bbdd119
parentce461b147be3942f5971db72d34379a84d713554
phy: samsung-ufs: Fix IS_ERR argument

Fix IS_ERR argument in samsung_ufs_phy_symbol_clk_init(). The proper
argument to be passed to IS_ERR() is phy->rx1_symbol_clk.

This bug was detected with the help of Coccinelle.

Fixes: 0fa8769c446e ("phy: samsung-ufs: add UFS PHY driver for samsung SoC")
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20200720132718.GA13413@embeddedor
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/samsung/phy-samsung-ufs.c