pcmcia: add important if statement
There was a problem introduced in Jul 2008 by:
0e6f9d2708
pcmcia: use pcmcia_loop_config in scsi pcmcia drivers
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:
Родитель
0d3a940de5
Коммит
e794c01b7d
|
@ -1717,6 +1717,7 @@ static int nsp_cs_config(struct pcmcia_device *link)
|
|||
cfg_mem->data = data;
|
||||
|
||||
ret = pcmcia_loop_config(link, nsp_cs_config_check, cfg_mem);
|
||||
if (ret)
|
||||
goto cs_failed;
|
||||
|
||||
if (link->conf.Attributes & CONF_ENABLE_IRQ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче