25 Jun, 2013
1 commit
-
"ci13xxx" is bad for at least the following reasons:
* people often mistype it
* it doesn't add any informational value to the names it's used in
* it needlessly attracts mail filtersThis patch replaces it with "ci_hdrc", "ci_udc" or "ci_hw", depending
on the situation. Modules with ci13xxx prefix are also renamed accordingly
and aliases are added for compatibility. Otherwise, no functional changes.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman
18 Jun, 2013
2 commits
-
Since someone has added camelcase detection to checkpatch.pl, chipidea
udc patches have been very noisy. To make everybody's life easier, this
patch changes camelcase names into something more appropriate to the
coding style. No functional changes.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman -
Instead of having a limited number of usable tds in the udc we use a
linked list to support dynamic amount of needed tds for all special
gadget types. This improves throughput.Signed-off-by: Michael Grzeschik
Reviewed-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman
30 Mar, 2013
5 commits
-
The intent here was to have parenthesis around the (ci->hw_ep_max / 2)
so that it counts like "0 1 2 0 1 2". In the current code, the mod
operation happens first so it counts like "0 0 1 1 2 2".Signed-off-by: Dan Carpenter
[rebased on top of debug.c changes]
Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman -
Manual role switching function is there for debugging purposes, so has
to move to debugfs.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman -
Currently, we have a bunch of files in sysfs that display all sorts of
debugging information for the device controller, so they have to move to
debugfs where they belong. The "registers" interface have been removed,
since it doesn't fit into the current driver design as is and it's hardly
a good idea to touch the registers from userspace anyway.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman -
As part of the legacy from the original driver design, we retain home-grown
tracing infrastructure, complete with own ring buffer and timestamps,
which among other things has a performance penalty. This patch removes it.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman -
debug.c is carrying a lot of includes that aren't needed there, although
they implicitly include the ones that are actually needed. Replace the
former with the latter.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman
19 Feb, 2013
1 commit
-
The static lock initializers want to be fed the proper name of the
lock and not some random string. In mainline random strings are
obfuscating the readability of debug output, but for RT they prevent
the spinlock substitution. Fix it up.Signed-off-by: Thomas Gleixner
08 Nov, 2012
1 commit
-
This commit removes the /sys/devices/platform//udc//is_dualspeed
file and is_dualspeeed line from /sys/devices/platform/ci13xxx_*/udc/device
file.The is_dualspeed file is superseded by maximum_speed in the same directory
and is_dualspeed line in device file is superseded by max_speed line in
the same file.The maximum_speed/max_speed specifies maximum speed supported by UDC.
To check if dualspeeed is supported, check if the value is >= 3.Signed-off-by: Michal Nazarewicz
Signed-off-by: Felipe Balbi
10 Jul, 2012
1 commit
-
struct ci13xxx represent the controller, which may be device or host,
so name its variables as ci.Signed-off-by: Richard Zhao
Reviewed-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Reviewed-by: Marek Vasut
Signed-off-by: Greg Kroah-Hartman
12 May, 2012
1 commit
-
Split the driver into the following parts:
* core -- resources, register access, capabilities, etc;
* udc -- device controller functionality;
* debug -- logging events.Signed-off-by: Alexander Shishkin
Signed-off-by: Greg Kroah-Hartman