diff options
| author | Russell King - ARM Linux <[email protected]> | 2011-06-20 20:10:08 +0100 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2011-07-20 17:20:54 -0400 |
| commit | 0a2d4048a22079d7e79d6654bbacbef57bd5728a (patch) | |
| tree | 3de4e928e43786b215271d467e77cf6e20a2e724 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 6e83e10d92e12fa0181766a1fbb00d857bfab779 (diff) | |
mmc: block: allow get_card_status() to return error status
If the MMC_SEND_STATUS command is not successful, we should not return
a zero status word, but instead allow the caller to know positively
that an error occurred.
Convert the open-coded get_card_status() to use the helper function,
and provide definitions for the card state field.
Signed-off-by: Russell King <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Tested-by: Pawel Moll <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions