Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164751
b: refs/heads/master
c: d08ebed
h: refs/heads/master
i:
  164749: b6b4506
  164747: 32a2347
  164743: 39a3ecf
  164735: 2dac260
v: v3
  • Loading branch information
Wolfgang Muees authored and Linus Torvalds committed Sep 23, 2009
1 parent 9bd35e0 commit 9b0054b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 82cf818d54f0a415a031eabd0949a81946445198
refs/heads/master: d08ebeddfb3293fa4bdfca9c610daf1e8ec8b233
10 changes: 5 additions & 5 deletions trunk/drivers/mmc/core/mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ static int mmc_read_ext_csd(struct mmc_card *card)

err = mmc_send_ext_csd(card, ext_csd);
if (err) {
/*
* We all hosts that cannot perform the command
* to fail more gracefully
*/
if (err != -EINVAL)
/* If the host or the card can't do the switch,
* fail more gracefully. */
if ((err != -EINVAL)
&& (err != -ENOSYS)
&& (err != -EFAULT))
goto out;

/*
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/mmc/core/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ static int mmc_read_switch(struct mmc_card *card)

err = mmc_sd_switch(card, 0, 0, 1, status);
if (err) {
/*
* We all hosts that cannot perform the command
* to fail more gracefully
*/
if (err != -EINVAL)
/* If the host or the card can't do the switch,
* fail more gracefully. */
if ((err != -EINVAL)
&& (err != -ENOSYS)
&& (err != -EFAULT))
goto out;

printk(KERN_WARNING "%s: problem reading switch "
Expand Down

0 comments on commit 9b0054b

Please sign in to comment.