diff options
author | Douglas Anderson <dianders@chromium.org> | 2017-09-29 16:58:46 -0700 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-10-03 15:18:41 +0530 |
commit | 2fb850092fd95198a0a4746f07b80077d5a3aa37 (patch) | |
tree | 0a2b50f36e3c748572058fd206726d7e104fe01d /drivers/char | |
parent | 26e03d803c8191e906360a0320c05b12d45a37ae (diff) | |
download | linux-stable-2fb850092fd95198a0a4746f07b80077d5a3aa37.tar.gz linux-stable-2fb850092fd95198a0a4746f07b80077d5a3aa37.tar.bz2 linux-stable-2fb850092fd95198a0a4746f07b80077d5a3aa37.zip |
phy: rockchip-typec: Check for errors from tcphy_phy_init()
The function tcphy_phy_init() could return an error but the callers
weren't checking the return value. They should. In at least one case
while testing I saw the message "wait pma ready timeout" which
indicates that tcphy_phy_init() really could return an error and we
should account for it.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions