linux-stable/drivers/usb
Arnd Bergmann 0c7d45c2d3 usb: dwc3: xilinx: include linux/gpio/consumer.h
[ Upstream commit e498a04443 ]

The newly added gpio consumer calls cause a build failure in configurations
that fail to include the right header implicitly:

drivers/usb/dwc3/dwc3-xilinx.c: In function 'dwc3_xlnx_init_zynqmp':
drivers/usb/dwc3/dwc3-xilinx.c:207:22: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_clk_get_optional'? [-Werror=implicit-function-declaration]
  207 |         reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
      |                      devm_clk_get_optional

Fixes: ca05b38252 ("usb: dwc3: xilinx: Add gpio-reset support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230103121755.956027-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-12 12:00:42 +01:00
..
atm
c67x00
cdns3 usb: cdnsp: fix lack of ZLP for ep0 2022-12-31 13:26:51 +01:00
chipidea usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-26 09:27:46 +01:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-08-19 11:12:43 +02:00
common usb: common: debug: Check non-standard control requests 2022-10-21 12:38:38 +02:00
core usb: core: hcd: Fix return value check in usb_hcd_setup_local_mem() 2022-12-31 13:26:27 +01:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-08-30 15:31:16 +02:00
dwc3 usb: dwc3: xilinx: include linux/gpio/consumer.h 2023-01-12 12:00:42 +01:00
early
gadget usb: gadget: f_hid: fix refcount leak on error path 2022-12-31 13:26:27 +01:00
host xhci: Prevent infinite loop in transaction errors recovery for streams 2022-12-31 13:26:52 +01:00
image
isp1760
misc usb: idmouse: fix an uninit-value in idmouse_open 2022-10-21 12:39:25 +02:00
mon usb: mon: make mmapped memory read only 2022-10-12 09:39:04 +02:00
mtu3 usb: mtu3: fix failed runtime suspend in host only mode 2022-10-21 12:38:53 +02:00
musb usb: musb: omap2430: Fix probe regression for missing resources 2022-12-31 13:26:25 +01:00
phy
renesas_usbhs
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2022-12-31 13:26:27 +01:00
serial USB: serial: f81534: fix division by zero on line-speed change 2022-12-21 17:41:14 +01:00
storage usb: storage: Add check for kcalloc 2022-12-31 13:26:28 +01:00
typec usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() 2022-12-31 13:26:28 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c