linux/drivers/usb/phy
Axel Lin 8627988cfc usb: phy: Find the right match in devm_usb_phy_match
[ Upstream commit 869aee0f31 ]

The res parameter passed to devm_usb_phy_match() is the location where the
pointer to the usb_phy is stored, hence it needs to be dereferenced before
comparing to the match data in order to find the correct match.

Fixes: 410219dcd2 ("usb: otg: utils: devres: Add API's to associate a device with the phy")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: <stable@vger.kernel.org> # v3.6+
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-05-17 19:11:58 -04:00
..
am35x-phy-control.h usb: phy: Add AM335x PHY driver 2013-08-09 17:34:15 +03:00
Kconfig usb: phy: samsung: remove old USB 3.0 PHY driver 2014-09-02 09:16:44 -05:00
Makefile usb: phy: samsung: remove old USB 3.0 PHY driver 2014-09-02 09:16:44 -05:00
of.c usb: add devicetree helpers for determining dr_mode and phy_type 2013-06-17 13:47:09 -07:00
phy-ab8500-usb.c usb: phy: initialize the notifier when add a new phy 2013-12-12 13:43:34 -06:00
phy-am335x-control.c usb: phy: am335x-control: check return value of bus_find_device 2015-04-16 20:11:39 -04:00
phy-am335x.c usb: phy: am335x: Use SIMPLE_DEV_PM_OPS macro 2014-07-10 08:39:20 -05:00
phy-fsl-usb.c usb: hub: rename khubd to hub_wq in documentation and comments 2014-09-23 22:33:19 -07:00
phy-fsl-usb.h usb: phy: move OTG FSM header 2013-11-26 10:58:18 -06:00
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 usb: hub: rename khubd to hub_wq in documentation and comments 2014-09-23 22:33:19 -07:00
phy-isp1301.c usb: phy: Fix NULL pointer exception during usb_get_phy 2013-05-15 17:32:47 +03:00
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: Remove .owner field for driver 2014-09-28 21:55:10 -04:00
phy-mv-usb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
phy-mv-usb.h usb: otg: mv_otg: remove unused clock 2013-04-02 11:42:45 +03:00
phy-mxs-usb.c Linux 3.17-rc5 2014-09-16 09:53:59 -05:00
phy-omap-otg.c usb: omap1: OTG controller driver 2013-12-06 14:40:26 -06:00
phy-rcar-gen2-usb.c usb: phy: rcar-gen2-usb: always use 'dev' variable in probe() method 2014-03-05 09:44:48 -06:00
phy-rcar-usb.c usb: phy: use dev_get_platdata() 2013-07-30 11:18:53 +03:00
phy-tahvo.c usb: phy: tahvo: fix smatch warnings 2013-12-23 10:14:33 -06:00
phy-tegra-usb.c usb: phy: tegra: Avoid use of sizeof(void) 2014-09-03 09:16:01 -05:00
phy-twl6030-usb.c usb: phy: twl6030-usb: Remove unused irq_enabled 2014-09-02 09:16:45 -05:00
phy-ulpi-viewport.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
phy-ulpi.c usb: phy: Add SMSC USB334x PHY ID 2014-05-15 10:31:57 -05:00
phy.c usb: phy: Find the right match in devm_usb_phy_match 2015-05-17 19:11:58 -04:00