projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mmc: vub300: fix an error code
[platform/kernel/linux-starfive.git]
/
drivers
/
mmc
/
host
/
vub300.c
diff --git
a/drivers/mmc/host/vub300.c
b/drivers/mmc/host/vub300.c
index
9ec593d
..
cef0e71
100644
(file)
--- a/
drivers/mmc/host/vub300.c
+++ b/
drivers/mmc/host/vub300.c
@@
-2309,6
+2309,7
@@
static int vub300_probe(struct usb_interface *interface,
vub300->read_only =
(0x0010 & vub300->system_port_status.port_flags) ? 1 : 0;
} else {
+ retval = -EINVAL;
goto error5;
}
usb_set_intfdata(interface, vub300);