mmc: core: add the debug message for SET_BLOCK_COUNT
PATCH 1/1 mmc: core: add the debug message for SET_BLOCK_COUNT
This patch is added just debug message.
Almost features need to use the CMD23.
But we didn't see the debug message for sbc. If sbc's message can see, should be help for debugging. (We can check whether use the cmd23 or not)
--- drivers/mmc/core/core.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/mmc/core/core.c +6 -0
@@ -188,6 +188,12 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)struct scatterlist *sg;#endif +if (mrq->sbc) { +pr_debug ("<%s: starting CMD%u arg %08x flags %08x>\n" , +mmc_hostname (host), mrq->sbc->opcode, + mrq->sbc->arg, mrq->sbc->flags); + } +pr_debug ("%s: starting CMD%u arg %08x flags %08x\n" ,mmc_hostname (host), mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags);
Signature · 1 line
1.7.4.1
2012/2/7 Jaehoon Chung <[email protected]>:
Quoted 5 lines
This patch is added just debug message.
Almost features need to use the CMD23.
But we didn't see the debug message for sbc. If sbc's message can see, should be help for debugging. (We can check whether use the cmd23 or not)
Hi. Jaehoon.
how about using CONFIG_MMC_DEBUG around this debug message. Thanks.
Quoted 30 lines
Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>---
drivers/mmc/core/core.c | 6 ++++++1 files changed, 6 insertions(+), 0 deletions(-)drivers/mmc/core/core.c +6
-1@@ -188,6 +188,12 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) struct scatterlist *sg; #endif + if (mrq->sbc) { + pr_debug("<%s: starting CMD%u arg %08x flags %08x>\n", + mmc_hostname(host), mrq->sbc->opcode, + mrq->sbc->arg, mrq->sbc->flags); + } + pr_debug("%s: starting CMD%u arg %08x flags %08x\n", mmc_hostname(host), mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags); --1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Namjae Jeon
2012/2/7 Jaehoon Chung <[email protected]>:
Quoted 5 lines
This patch is added just debug message.
Almost features need to use the CMD23.
But we didn't see the debug message for sbc. If sbc's message can see, should be help for debugging. (We can check whether use the cmd23 or not)Hi. Jaehoon.
how about usingCONFIG_MMC_DEBUGaround this debug message.
Why using?
Quoted 37 lines
Thanks.
Quoted 25 lines
Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- drivers/mmc/core/core.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)drivers/mmc/core/core.c +6
-1@@ -188,6 +188,12 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)struct scatterlist *sg;#endif +if (mrq->sbc) { +pr_debug ("<%s: starting CMD%u arg %08x flags %08x>\n" , +mmc_hostname (host), mrq->sbc->opcode, + mrq->sbc->arg, mrq->sbc->flags); + } +pr_debug ("%s: starting CMD%u arg %08x flags %08x\n" ,mmc_hostname (host), mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags); --Quoted 5 lines
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
2012/2/8 Jaehoon Chung <[email protected]>:
Quoted 8 lines · Namjae Jeon
Quoted 7 lines
2012/2/7 Jaehoon Chung <[email protected]>:
Quoted 5 lines
This patch is added just debug message.
Almost features need to use the CMD23.
But we didn't see the debug message for sbc. If sbc's message can see, should be help for debugging. (We can check whether use the cmd23 or not)
Quoted 4 lines
Quoted 2 lines
Hi. Jaehoon.
how about usingCONFIG_MMC_DEBUGaround this debug message.Why using?
It is not need because you used pr_debug. I understand. Thanks.
Quoted 40 lines
Quoted 38 lines
Thanks.
Quoted 25 lines
Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>---
drivers/mmc/core/core.c | 6 ++++++1 files changed, 6 insertions(+), 0 deletions(-)drivers/mmc/core/core.c +6
-1@@ -188,6 +188,12 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) struct scatterlist *sg; #endif + if (mrq->sbc) { + pr_debug("<%s: starting CMD%u arg %08x flags %08x>\n", + mmc_hostname(host), mrq->sbc->opcode, + mrq->sbc->arg, mrq->sbc->flags); + } + pr_debug("%s: starting CMD%u arg %08x flags %08x\n", mmc_hostname(host), mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags); --Quoted 5 lines
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Quoted 19 lines · Jaehoon Chung
This patch is added just debug message.
Almost features need to use the CMD23.
But we didn't see the debug message for sbc. If sbc's message can see, should be help for debugging. (We can check whether use the cmd23 or not)Signed-off-by Jaehoon Chung <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- drivers/mmc/core/core.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)drivers/mmc/core/core.c +0
-0@@ -188,6 +188,12 @@ mmc_start_request(struct mmc_host *host, struct mmc_request *mrq)struct scatterlist *sg;#endif
drivers/mmc/core/core.c mmc_start_request(struct mmc_host *host, struct mmc_request *mrq) · line 199
Quoted 10 lines
drivers/mmc/core/core.c +6
-0+if (mrq->sbc) { +pr_debug ("<%s: starting CMD%u arg %08x flags %08x>\n" , +mmc_hostname (host), mrq->sbc->opcode, + mrq->sbc->arg, mrq->sbc->flags); + } +pr_debug ("%s: starting CMD%u arg %08x flags %08x\n" ,mmc_hostname (host), mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags);
Thanks, pushed to mmc-next for 3.4.
- Chris.
Signature · 2 lines
Chris Ball <[email protected]> <http://printf.net/> One Laptop Per Child