summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/char/pcmcia/scr24x_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/scr24x_cs.c b/drivers/char/pcmcia/scr24x_cs.c
index a1de354a89a7..f6b43d9350f0 100644
--- a/drivers/char/pcmcia/scr24x_cs.c
+++ b/drivers/char/pcmcia/scr24x_cs.c
@@ -158,7 +158,7 @@ static ssize_t scr24x_read(struct file *filp, char __user *buf, size_t count,
ret = -EIO;
goto out;
}
- read_chunk(dev, CCID_HEADER_SIZE, len);
+ ret = read_chunk(dev, CCID_HEADER_SIZE, len);
if (ret < 0)
goto out;