]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: Remove reference to is_dualspeed from sysfs.
authorMichal Nazarewicz <mina86@mina86.com>
Tue, 6 Nov 2012 21:52:40 +0000 (22:52 +0100)
committerFelipe Balbi <balbi@ti.com>
Thu, 8 Nov 2012 14:04:34 +0000 (16:04 +0200)
commitbe44f1c80b998b00cfa1759f4ba88f6497810963
tree13636335821fca72cdfbe77c918a9027524ae571
parentfea20dbcfd6673d73d510984589897bd921c8a1d
usb: gadget: Remove reference to is_dualspeed from sysfs.

This commit removes the /sys/devices/platform/<UDC>/udc/<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 <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/chipidea/debug.c
drivers/usb/gadget/udc-core.c