diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 16:25:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-12 01:43:21 +0200 |
commit | ef15e5490edc7edf808d3477ab32e0e320792f65 (patch) | |
tree | c6c8a4a921f6ec27cf0ad576444948e6a1ecc440 /drivers/usb/chipidea/Makefile | |
parent | usb: gadget: ci13xxx: fix the context of register map (diff) | |
download | linux-ef15e5490edc7edf808d3477ab32e0e320792f65.tar.xz linux-ef15e5490edc7edf808d3477ab32e0e320792f65.zip |
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/chipidea/Makefile')
0 files changed, 0 insertions, 0 deletions