summaryrefslogtreecommitdiff
path: root/drivers/soc/rockchip
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-06-14 14:39:02 +0200
committerChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-10-02 00:39:47 +0200
commitd2e073766995d12301b0954a64045623ca4b070d (patch)
treeb56b172ebc8500eed4be00c07e2567e54e06001e /drivers/soc/rockchip
parent819031b60dcb0e2175da3ef5d75637bdd5642571 (diff)
usb: dwc_otg_310: Prevent phy access if not probed.
In case the PHY is not successfully probed, we cannot access PHY functions like usb20otg_hw_init(), because they assume successful probing and might dereference NULL pointers otherwise. This patch addresses this by introducing a flag 'is_probed', which can be checked during controller probing time to verify, that the PHY has been probed. If this was not the case, controller probing will be deferred. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'drivers/soc/rockchip')
0 files changed, 0 insertions, 0 deletions