linux-stable/drivers/usb/phy
Thierry Reding 9ce9ec95fb usb: phy: tegra: Avoid use of sizeof(void)
The PHY configuration is stored in an opaque "config" field, but when
allocating the structure, its proper size needs to be known. In the case
of UTMI, the proper structure is tegra_utmip_config of which a local
variable already exists, so we can use that to obtain the size from.

Fixes the following warning from the sparse checker:

	drivers/usb/phy/phy-tegra-usb.c:882:17: warning: expression using sizeof(void)

Fixes: 81d5dfe6d8 (usb: phy: tegra: Read UTMIP parameters from device tree)
Cc: stable@vger.kernel.org
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-09-03 09:16:01 -05:00
..
am35x-phy-control.h
Kconfig phy: Enable USB PHY support for arm64 2014-05-27 15:58:13 -07:00
Makefile usb: common: rename phy-fsm-usb.c to usb-otg-fsm.c 2014-05-27 15:29:44 -07:00
of.c
phy-ab8500-usb.c
phy-am335x-control.c
phy-am335x.c usb: phy: am335x: Use SIMPLE_DEV_PM_OPS macro 2014-07-10 08:39:20 -05:00
phy-fsl-usb.c
phy-fsl-usb.h
phy-generic.c usb: phy: generic: allow multiples calls to usb_phy_generic_register() 2014-04-21 14:07:25 -05:00
phy-generic.h usb: phy: rename <linux/usb/usb_phy_gen_xceiv.h> to <linux/usb/usb_phy_generic.h> 2014-04-21 14:07:24 -05:00
phy-gpio-vbus-usb.c usb: phy: drop kfree of devm_kzalloc's data 2014-08-19 09:21:34 -05:00
phy-isp1301-omap.c ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP 2014-05-16 14:14:25 -07:00
phy-isp1301.c
phy-keystone.c usb: phy: rename <linux/usb/usb_phy_gen_xceiv.h> to <linux/usb/usb_phy_generic.h> 2014-04-21 14:07:24 -05:00
phy-msm-usb.c usb: phy: msm: Fix return value check in msm_otg_probe() 2014-08-19 09:27:24 -05:00
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c usb: phy: mxs: add imx6sx support 2014-09-03 09:16:00 -05:00
phy-omap-otg.c
phy-rcar-gen2-usb.c
phy-rcar-usb.c
phy-samsung-usb.c
phy-samsung-usb.h usb: phy: samsung: Fix wrong bit mask for PHYPARAM1_PCS_TXDEEMPH 2014-08-19 09:24:25 -05:00
phy-samsung-usb2.c
phy-samsung-usb3.c
phy-tahvo.c
phy-tegra-usb.c usb: phy: tegra: Avoid use of sizeof(void) 2014-09-03 09:16:01 -05:00
phy-twl6030-usb.c
phy-ulpi-viewport.c
phy-ulpi.c usb: phy: Add SMSC USB334x PHY ID 2014-05-15 10:31:57 -05:00
phy.c usb: phy: return -ENODEV on failure of try_module_get 2014-08-19 09:21:28 -05:00