diff options
author | Tony Lindgren <tony@atomide.com> | 2012-06-20 07:18:15 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-06-20 07:18:15 -0700 |
commit | 310018d52ec06c19dc946c2807c07c8b70e2d1a6 (patch) | |
tree | 50b43175441704b6edaa96bca3fe434a891d3f39 /arch/arm/mach-omap2/cm-regbits-34xx.h | |
parent | 485802a6c524e62b5924849dd727ddbb1497cc71 (diff) | |
download | linux-310018d52ec06c19dc946c2807c07c8b70e2d1a6.tar.gz linux-310018d52ec06c19dc946c2807c07c8b70e2d1a6.tar.bz2 linux-310018d52ec06c19dc946c2807c07c8b70e2d1a6.zip |
ARM: OMAP2+: Fix MUSB ifdefs for platform init code
Commit 62285963 (usb: musb: drop a gigantic amount of ifdeferry)
got rid of a bunch of ifdefs in the MUSB code. Looks like the
platform init code is still using these dropped defines though,
which in many cases results the board defaulting always to host
mode.
Currently the situation is that USB_MUSB_HDRC is the main
Kconfig option with additional USB_GADGET_MUSB_HDRC so only
these two should be used to select between host and OTG mode.
Fix the situation for omaps. The following users should fix the
platform init code in a similar way:
Dropped Kconfig option Current users
USB_MUSB_OTG blackfin, davinci, not in Kconfigs
USB_MUSB_PERIPHERAL davinci, not in Kconfigs
USB_MUSB_HOST davinci, not in Kconfigs
USB_MUSB_HDRC_HCD blackfin, not in Kconfigs
USB_MUSB_OTG blackfin, not in Kconfigs
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: linux-usb@vger.kernel.org
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm-regbits-34xx.h')
0 files changed, 0 insertions, 0 deletions