projects
/
lede-git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gemini: drop Linux 4.1 support
[lede-git/.git]
/
target
/
linux
/
gemini
/
files
/
drivers
/
usb
/
host
/
ehci-fotg2.c
diff --git
a/target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
b/target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
index 4d95f2e5c8cfdf32e8ae560d8cf1a71e1548b1aa..0717abce9c48ab6f8a5c2ba516fa227d1260efbd 100644
(file)
--- a/
target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
+++ b/
target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c
@@
-206,8
+206,8
@@
static int fotg2_ehci_probe(struct platform_device *pdev)
hcd->rsrc_start = res->start;
hcd->rsrc_len = resource_size(res);
hcd->rsrc_start = res->start;
hcd->rsrc_len = resource_size(res);
- hcd->regs = devm_
request_and_ioremap
(&pdev->dev, res);
- if (
!hcd->regs
) {
+ hcd->regs = devm_
ioremap_resource
(&pdev->dev, res);
+ if (
IS_ERR(hcd->regs)
) {
err = -ENOMEM;
goto err_put_hcd;
}
err = -ENOMEM;
goto err_put_hcd;
}