projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pcmcia: pcmcia_config_loop() ConfigIndex unification
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
sl811_cs.c
diff --git
a/drivers/usb/host/sl811_cs.c
b/drivers/usb/host/sl811_cs.c
index 9773601bf0bbfc49e04cef4b04efd7a159cdfc1a..5b55c72c710b7c9413b65e260f3accded4c170f0 100644
(file)
--- a/
drivers/usb/host/sl811_cs.c
+++ b/
drivers/usb/host/sl811_cs.c
@@
-172,8
+172,6
@@
static int sl811_cs_config_check(struct pcmcia_device *p_dev,
if (cfg->index == 0)
return -ENODEV;
- p_dev->conf.ConfigIndex = cfg->index;
-
/* Use power settings for Vcc and Vpp if present */
/* Note that the CIS values need to be rescaled */
if (cfg->vcc.present & (1<<CISTPL_POWER_VNOM)) {