OpenCloudOS-Kernel/drivers/usb/phy
Dan Carpenter 10f0577aa5 usb: phy: msm: change devm_ioremap() to devm_ioremap_resource()
There are several issues here:
1) platform_get_resource() can return NULL and that wasn't handled.
2) We should request the memory before we remap it, and
   devm_ioremap_resource() does that.
3) devm_ioremap() returns a NULL but we were checking for IS_ERR().

Fixes: 6b99c68ec1 ('usb: phy: msm: Migrate to Managed Device Resource allocation')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2014-05-14 09:25:51 -05:00
..
Kconfig usb: phy: msm: reset controller is mandatory now 2014-05-14 09:25:47 -05:00
Makefile phy: rename struct omap_control_usb to struct omap_control_phy 2014-03-09 12:45:08 +05:30
am35x-phy-control.h usb: phy: Add AM335x PHY driver 2013-08-09 17:34:15 +03: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: include appropriate header file in phy-am335x-control.c 2013-12-19 09:27:42 -06:00
phy-am335x.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-fsl-usb.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
phy-fsl-usb.h usb: phy: move OTG FSM header 2013-11-26 10:58:18 -06:00
phy-fsm-usb.c usb: phy: fsm: update OTG HNP state transition conditions according to OTG and EH 2.0 spec. 2014-03-07 10:03:25 -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: initialize the notifier when add a new phy 2013-12-12 13:43:34 -06:00
phy-isp1301-omap.c usb: phy: isp1301-omap: fix smatch warnings 2013-12-23 10:14:40 -06: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: phy: msm: change devm_ioremap() to devm_ioremap_resource() 2014-05-14 09:25:51 -05:00
phy-mv-u3d-usb.c usb: phy: mv-u3d: switch over to writel/readl 2014-04-21 10:52:52 -05:00
phy-mv-u3d-usb.h usb: phy: rename all phy drivers to phy-$name-usb.c 2013-03-18 11:18:08 +02: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 usb: phy: mxs: Add sync time after controller clear phcd 2014-03-05 14:40:09 -06: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-samsung-usb.c usb: phy: samsung: Add support HSIC on Exynos4X12 2013-05-28 20:16:37 +03:00
phy-samsung-usb.h usb: phy: samsung: Add support HSIC on Exynos4X12 2013-05-28 20:16:37 +03:00
phy-samsung-usb2.c USB: phy: samsung: Support multiple PHYs of same type 2013-10-29 16:46:48 -07:00
phy-samsung-usb3.c USB: phy: samsung: Support multiple PHYs of same type 2013-10-29 16:46:48 -07: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-usb.c: wrong pointer check for remap UTMI 2013-12-06 14:32:15 -06:00
phy-twl6030-usb.c phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/ 2014-03-07 21:51:45 +05:30
phy-ulpi-viewport.c usb: Remove unnecessary semicolons 2013-10-11 16:26:46 -07:00
phy-ulpi.c usb: phy: Add ulpi IDs for SMSC USB3320 and TI TUSB1210 2014-03-17 16:08:27 -07:00
phy.c usb: phy: move some error messages to debug 2014-02-04 12:59:14 -08:00