projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d114ad5
)
memstick: make sure number of command retries is exactly as specified
author
Alex Dubov
<oakad@yahoo.com>
Mon, 10 Mar 2008 18:43:38 +0000
(11:43 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 11 Mar 2008 01:01:18 +0000
(18:01 -0700)
Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/memstick/core/memstick.c
patch
|
blob
|
history
diff --git
a/drivers/memstick/core/memstick.c
b/drivers/memstick/core/memstick.c
index
3c97bac
..
decd6a4
100644
(file)
--- a/
drivers/memstick/core/memstick.c
+++ b/
drivers/memstick/core/memstick.c
@@
-236,7
+236,7
@@
int memstick_next_req(struct memstick_host *host, struct memstick_request **mrq)
rc = host->card->next_request(host->card, mrq);
if (!rc)
- host->retries = cmd_retries;
+ host->retries = cmd_retries
> 1 ? cmd_retries - 1 : 1
;
else
*mrq = NULL;