linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda ccc3264c24 usb: renesas_usbhs: Avoid to write platform_data's value
The very old commit 482982062f ("usb: gadget: renesas_usbhs:
bugfix: don't modify platform data") changed to use copied whole
structures values to fix the "hung-up" issue. However, we also
can fix the issue if the driver copies the get_vbus function
pointer to the driver's value.

So, this patch adds get_vbus member into struct usbhs_mod_info and
use the pointer instead of struct renesas_usbhs_platform_callback.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-26 10:33:08 +08:00
..
common.c usb: renesas_usbhs: Avoid to write platform_data's value 2019-06-26 10:33:08 +08:00
common.h usb: renesas_usbhs: remove notify_hotplug callback 2019-06-26 10:33:08 +08:00
fifo.c usb: renesas_usbhs: remove sudmac support 2019-06-05 11:54:38 +02:00
fifo.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
Kconfig usb: remove redundant 'default n' from Kconfig-s 2019-05-21 10:06:22 +02:00
Makefile usb: renesas_usbhs: Add support for RZ/A2 2019-05-21 10:25:59 +02:00
mod_gadget.c usb: renesas_usbhs: Avoid to write platform_data's value 2019-06-26 10:33:08 +08:00
mod_host.c USB: renesas_usbhs: fix spelling mistake "doens't" -> "doesn't" 2019-02-19 14:41:38 +01:00
mod.c usb: renesas_usbhs: Avoid to write platform_data's value 2019-06-26 10:33:08 +08:00
mod.h usb: renesas_usbhs: Avoid to write platform_data's value 2019-06-26 10:33:08 +08:00
pipe.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
rcar2.c USB: renesas_usbhs: drop unused legacy-phy support 2018-04-22 15:58:24 +02:00
rcar2.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rcar3.c usb: renesas_usbhs: replace udelay() with usleep_range() 2019-01-18 10:00:49 +01:00
rcar3.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rza2.c usb: renesas_usbhs: Add support for RZ/A2 2019-05-21 10:25:59 +02:00
rza.c usb: renesas_usbhs: replace udelay() with usleep_range() 2019-01-18 10:00:49 +01:00
rza.h usb: renesas_usbhs: Add support for RZ/A2 2019-05-21 10:25:59 +02:00