linux_dsm_epyc7002/drivers/usb/phy
Rajendra Nayak 5a8141bd41 usb: phy: phy-msm-usb: Fix usage of devm_regulator_bulk_get()
The regulator_bulk_data pointer passed to devm_regulator_bulk_get()
is used to store the client handles for the regulators, which
is later used by devm_regulator_bulk_release() to free the
regulators.
Passing a local array as is done here means the memory used to
store the handles is freed causing the handles to be corrupted,
resulting in a crash when devm_regulator_bulk_release() tries to
free them.

Fix this my moving the array inside of the msm_otg structure.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-08-03 12:32:13 +03:00
..
Kconfig usb: phy: Introduce one extcon device into usb phy 2017-05-17 14:15:28 +03:00
Makefile usb: phy: Remove unused config 2017-04-11 10:58:22 +03:00
of.c
phy-ab8500-usb.c usb: phy: ab8500: remove unused ab8500_eyediagram_workaroud() 2017-01-26 10:51:27 +02:00
phy-am335x-control.c USB: phy: am335x-control: fix device and of_node leaks 2016-11-18 13:54:09 +02:00
phy-am335x-control.h
phy-am335x.c USB: Fix of_usb_get_dr_mode_by_phy with a shared phy block 2016-06-21 10:52:39 +03:00
phy-fsl-usb.c usb: otg-fsm: Prevent build warning "VDBG" redefined 2017-04-11 10:58:23 +03:00
phy-fsl-usb.h
phy-generic.c usb: phy: phy-generic: add the implementation of .set_suspend 2016-11-18 13:54:42 +02:00
phy-generic.h
phy-gpio-vbus-usb.c
phy-isp1301-omap.c usb: isp1301-omap: don't opencode IS_REACHABLE() 2016-11-18 13:54:41 +02:00
phy-isp1301.c usb: phy: isp1301: Fix build warning when CONFIG_OF is disabled 2017-03-29 12:13:50 +02:00
phy-keystone.c
phy-msm-usb.c usb: phy: phy-msm-usb: Fix usage of devm_regulator_bulk_get() 2017-08-03 12:32:13 +03:00
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: Add DT bindings to configure TX settings 2016-08-25 12:13:18 +03:00
phy-omap-otg.c usb: phy: omap-otg: Replace the extcon API 2017-01-24 11:04:13 +02:00
phy-qcom-8x16-usb.c usb: phy: phy-qcom-8x16-usb: Remove redundant extcon register/unregister 2017-05-17 14:15:34 +03:00
phy-tahvo.c usb: phy: tahvo: Replace the deprecated extcon API 2017-01-24 11:04:15 +02:00
phy-tegra-usb.c
phy-twl6030-usb.c usb: twl6030-usb: make driver DT only 2016-11-18 13:54:44 +02:00
phy-ulpi-viewport.c
phy-ulpi.c
phy.c usb: phy: Introduce one extcon device into usb phy 2017-05-17 14:15:28 +03:00