projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01684db
)
i3c: master: Fix an error checking typo in 'cdns_i3c_master_probe()'
author
Christophe JAILLET
<
[email protected]
>
Sat, 29 Dec 2018 00:05:40 +0000
(
01:05
+0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 22 Jan 2019 12:56:37 +0000
(13:56 +0100)
Fix a cut'n'paste typo.
Checking 'master->sysclk' is expected here.
Fixes: 603f2bee2c54 ("i3c: master: Add driver for Cadence IP")
Signed-off-by: Christophe JAILLET <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/i3c/master/i3c-master-cdns.c
patch
|
blob
|
history
diff --git
a/drivers/i3c/master/i3c-master-cdns.c
b/drivers/i3c/master/i3c-master-cdns.c
index bbd79b8b1a8093189ee69eebe5e77f4df876a2ca..8889a4fdb4541a06a94dfc0d0b858adf661f37e9 100644
(file)
--- a/
drivers/i3c/master/i3c-master-cdns.c
+++ b/
drivers/i3c/master/i3c-master-cdns.c
@@
-1556,8
+1556,8
@@
static int cdns_i3c_master_probe(struct platform_device *pdev)
return PTR_ERR(master->pclk);
master->sysclk = devm_clk_get(&pdev->dev, "sysclk");
- if (IS_ERR(master->
p
clk))
- return PTR_ERR(master->
p
clk);
+ if (IS_ERR(master->
sys
clk))
+ return PTR_ERR(master->
sys
clk);
irq = platform_get_irq(pdev, 0);
if (irq < 0)