Skip to content
Commit e628c8f7 authored by ramneek mehresh's avatar ramneek mehresh Committed by York Sun
Browse files

powerpc/8xxx: Fix in USB device-tree fixup



Fix following issues in USB device-tree fixup:
        - returns when either dr_mode or phy_type not defined.
          This was terminating fix-up when only either property
          was defined in hwconfig string
        - updates dr_mode_type or dr_phy_type with junk value when
          their index is -1. Now these are updated only when their
          respective index is pointing to relevant types
          in modes[] and phys[] array
        - dr_mode_type and dr_phy_type were not NULL for
          each controller

Signed-off-by: default avatarRamneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 363fb32a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment