Commit Graph
2 Commits
Author SHA1 Message Date
Wei Yongjun 677c577e17 phy: usb: sunplus: Fix return value check in update_disc_vol()
In case of error, the function nvmem_cell_read() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().

Fixes: 99d9ccd973 ("phy: usb: Add USB2.0 phy driver for Sunplus SP7021")
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
2022-09-13 20:58:33 +05:30
Vincent Shih 99d9ccd973 phy: usb: Add USB2.0 phy driver for Sunplus SP7021
Add USB2.0 phy driver for Sunplus SP7021

Signed-off-by: Vincent Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[vkoul: remove trailing line in driver file]
Signed-off-by: Vinod Koul <[email protected]>
2022-09-02 21:01:24 +05:30