From: Kuninori Morimoto Date: Tue, 11 Oct 2011 05:01:51 +0000 (-0700) Subject: usb: gadget: renesas_usbhs: add usbhs_bus_get_speed() X-Git-Tag: v3.2-rc1~183^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75587f52c7b0d6c319515138a495a619b552a670;p=pandora-kernel.git usb: gadget: renesas_usbhs: add usbhs_bus_get_speed() current mod_gadget had got usb speed on usbhsg_irq_dev_state() which is status change interrupt callback function. And the usb speed data was included in its parameter. But this style works for mod_gadget, but doesn't work for mod_host which isn't interrupted when device status was changed. This patch add usbhs_bus_get_speed() to solve this issue. Signed-off-by: Kuninori Morimoto Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed