commit | 600246cfb1b8253742b1615a1f06382deccde9ee | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Apr 30 15:09:56 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Thu May 15 00:21:17 2014 +0200 |
tree | e52cac31da3f4b5daad4aa53884c34ca4ea24233 | |
parent | fa2be67320036db21615b5f6172b330a2f819634 [diff] |
usb: tegra: refactor PHY type selection Both init_{utmi,ulpi}_usb_controller() have nearly identical code for PHY type selection. Pull this out into a common function to remove the duplication. Cc: Jim Lin <jilin@nvidia.com> Cc: Stefan Agner <stefan@agner.ch> Signed-off-by: Stephen Warren <swarren@nvidia.com>