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:
fcea94a
)
phy: cpcap-usb: Use IRQF_ONESHOT
author
Zou Wei
<zou_wei@huawei.com>
Wed, 28 Oct 2020 08:59:09 +0000
(16:59 +0800)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 28 Oct 2020 16:23:48 +0000
(21:53 +0530)
Fixes coccicheck error:
./drivers/phy/motorola/phy-cpcap-usb.c:365:9-34: ERROR:
Threaded IRQ with no primary handler requested without IRQF_ONESHOT
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link:
https://lore.kernel.org/r/1603875549-107500-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/motorola/phy-cpcap-usb.c
patch
|
blob
|
history
diff --git
a/drivers/phy/motorola/phy-cpcap-usb.c
b/drivers/phy/motorola/phy-cpcap-usb.c
index
089db0d
..
442522b
100644
(file)
--- a/
drivers/phy/motorola/phy-cpcap-usb.c
+++ b/
drivers/phy/motorola/phy-cpcap-usb.c
@@
-364,7
+364,8
@@
static int cpcap_usb_init_irq(struct platform_device *pdev,
error = devm_request_threaded_irq(ddata->dev, irq, NULL,
cpcap_phy_irq_thread,
- IRQF_SHARED,
+ IRQF_SHARED |
+ IRQF_ONESHOT,
name, ddata);
if (error) {
dev_err(ddata->dev, "could not get irq %s: %i\n",