diff options
author | 2013-05-10 15:15:08 +0530 | |
---|---|---|
committer | 2013-05-15 17:32:47 +0300 | |
commit | 1abd8b3172b701ed626df4ebf09b7fe7f329888a (patch) | |
tree | e5edc969a6f01954507c3cf7224efa64e6f52f0d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | usb: phy: don't check resource with devm_ioremap_resource (diff) | |
download | linux-dev-1abd8b3172b701ed626df4ebf09b7fe7f329888a.tar.xz linux-dev-1abd8b3172b701ed626df4ebf09b7fe7f329888a.zip |
usb: phy: Fix NULL pointer exception during usb_get_phy
Upon initialisation (driver probe) a NULL pointer exception
is triggered. This is due to lack of initialisation of
device field in phy structure, which is used by phy
framework in usb_get_phy().
Fix it by initialising the device field.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions