]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: phy: msm: fix bug in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 May 2014 20:35:19 +0000 (23:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:51:33 +0000 (16:51 +0900)
commit2ea7b1487f975eb409a7a2df4081d838069cab05
treee3436f8f544bed02ce0e06a7c369e6f5a77a7035
parent10775eb17bee1ccc02ac22bb85e50699e0576a84
usb: phy: msm: fix bug in probe()

My previous patch introduced a bug which prevented this driver from
loading.  devm_ioremap_resource() has a call to
devm_request_mem_region() which will fail because the address space is
shared between this PHY driver and CI device controller driver.

Fixes: 10f0577aa5cb ('usb: phy: msm: change devm_ioremap() to devm_ioremap_resource()')
Reported-by:"Ivan T. Ivanov" <iivanov@mm-sol.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-msm-usb.c