aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2019-02-27 06:51:38 +0000
committerGreg Kroah-Hartman <[email protected]>2019-02-27 15:51:02 +0100
commita3a47548332864887c212bff14dd1d0013ca4547 (patch)
treebba07408f8eb75f07bfbb67fad334842ad869523 /scripts/gen_compile_commands.py
parent68ef236274793066b9ba3154b16c0acc1c891e5c (diff)
usb: chipidea: Refactor USB PHY selection and keep a single PHY
Refactor the code in charge of looking up the USB PHY when no platdata is provided. Attempt to get a generic USB PHY first, then look for a legacy USB PHY through device-tree and finally get any registered PHY with the correct type. This way, only a single USB PHY is obtained and the flow is easier to understand and follow. All error pointers (except for EPROBE_DEFER) are considered as PHY not found. Signed-off-by: Paul Kocialkowski <[email protected]> Signed-off-by: Peter Chen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions