projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95f480
)
staging: wilc1000: fix always return 0 error
author
Glen Lee
<glen.lee@atmel.com>
Thu, 24 Dec 2015 06:02:51 +0000
(15:02 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:05:35 +0000
(15:05 -0800)
This patch fixes a bug that return always 0 so it fails every time.
Fixes:
c1af9db78950
("staging: wilc1000: call linux_sdio_init instead of io_init")
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/wilc_sdio.c
b/drivers/staging/wilc1000/wilc_sdio.c
index
e961b50
..
464d27d
100644
(file)
--- a/
drivers/staging/wilc1000/wilc_sdio.c
+++ b/
drivers/staging/wilc1000/wilc_sdio.c
@@
-614,8
+614,6
@@
static int sdio_init(struct wilc *wilc)
if (!wilc_sdio_init()) {
dev_err(&func->dev, "Failed io init bus...\n");
return 0;
- } else {
- return 0;
}
/**