linux_old1/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 usb: phy: fixed comment typo 2015-03-11 10:19:36 -05:00
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 usb: phy: phy-am335x: bypass first VBUS sensing for host-only mode 2015-12-16 10:07:25 -06:00
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 usb: phy: fsl: Fix build errors 2014-11-12 08:37:37 -06:00
phy-generic.c usb: phy: phy-generic: add the implementation of .set_suspend 2016-11-18 13:54:42 +02:00
phy-generic.h usb: phy: generic: add vbus support 2015-01-12 12:13:29 -06:00
phy-gpio-vbus-usb.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
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 usb: phy: phy-keystone: Simplify return statement 2015-08-04 11:02:05 -05:00
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 usb: phy: mv-usb: fix usb_phy build errors 2015-01-13 09:32:22 -06:00
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 usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
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 usb: rename phy to usb_phy in OTG 2014-11-03 10:01:25 -06:00
phy.c usb: phy: Introduce one extcon device into usb phy 2017-05-17 14:15:28 +03:00