diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 17:25:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 16:43:21 -0700 |
commit | ef15e5490edc7edf808d3477ab32e0e320792f65 (patch) | |
tree | c6c8a4a921f6ec27cf0ad576444948e6a1ecc440 /drivers/usb/Kconfig | |
parent | 405b84487438efa1360740a70ec3e3cd1a90bd62 (diff) | |
download | op-kernel-dev-ef15e5490edc7edf808d3477ab32e0e320792f65.zip op-kernel-dev-ef15e5490edc7edf808d3477ab32e0e320792f65.tar.gz |
usb: gadget: ci13xxx: don't use "advance" feature when setting address
Newer versions of the chipidea controller support the "advance" setting
of usb address, which means instead of setting it immediately, deferring
it till the status completion. Unfortunately, older versions of the
controller don't have this feature, so in order to support those too, we
simply don't use it. It's about 4 lines of extra code, and isn't in any
way critical to performance. While at it, change the return value of the
hw_usb_set_address() to void, since it can't fail in any measurable way.
With this patch, ci13xxx_udc driver works with the chipidea controller in
kirkwood (feroceon SoC), as found in, for example, sheevaplug.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions