diff options
| author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-09-04 14:53:13 +0200 |
|---|---|---|
| committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-10-23 11:19:25 +0530 |
| commit | 11a6e41c0ee503ffcb971d260bd07dc99b77f13a (patch) | |
| tree | 1ab129285ed571d6c75592a454365a1629cb9e92 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | phy: phy-mtk-tphy: add set_mode callback (diff) | |
| download | linux-11a6e41c0ee503ffcb971d260bd07dc99b77f13a.tar.gz linux-11a6e41c0ee503ffcb971d260bd07dc99b77f13a.zip | |
phy: Return NULL if the phy is optional
If we're trying to get a handle to an optional phy, then the phy framework
being disabled shouldn't return an hard error.
Instead, return NULL just like phy_optional_get does when there's no phy
provided in the DT.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
