projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40ddb76
)
usb: xhci-mtk: remove unnecessary setting of has_ippc
author
Chunfeng Yun
<chunfeng.yun@mediatek.com>
Fri, 7 May 2021 02:11:25 +0000
(10:11 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 May 2021 14:21:49 +0000
(16:21 +0200)
Due to @has_ippc's default value is 0, no need set it again if fail
to get ippc base address
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link:
https://lore.kernel.org/r/20210507021127.54717-2-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-mtk.c
b/drivers/usb/host/xhci-mtk.c
index
b2058b3
..
2548976
100644
(file)
--- a/
drivers/usb/host/xhci-mtk.c
+++ b/
drivers/usb/host/xhci-mtk.c
@@
-495,8
+495,6
@@
static int xhci_mtk_probe(struct platform_device *pdev)
goto put_usb2_hcd;
}
mtk->has_ippc = true;
- } else {
- mtk->has_ippc = false;
}
device_init_wakeup(dev, true);