From: Dmitriy Chumak <dmytro.chumak@inobject.com>
To: omap <linux-omap@vger.kernel.org>
Subject: sdio cmd53 doesn't work on omap 2430sdp
Date: Mon, 26 May 2008 12:27:57 +0300 [thread overview]
Message-ID: <200805261227.57990.dmytro.chumak@inobject.com> (raw)
Hi *,
Sorry for bothering all of you with my problem again.
I've asked it in linux-omap-open-source@linux.omap.com but have not got
some working solution. Maybe here somebody could help me.
I write an SDIO driver on OMAP 2430SDP platform.
I have three questions related to MMC subsystem:
1. When I issue sdio_writesb - it hangs. This happens because func
mmc_wait_for_req waits for request completion that should be
signaled by calling mmc_wait_done. mmc_wait_done is indirectly
called from mmc_omap_cmd_done if condition "host->data == NULL ||
cmd->error" (file: drivers/mmc/host/omap_hsmmc.c, line: 273) is
true. In my case the above condition is not true because
host->data is not NULL and cmd->error is NULL. Why this could be
happen. Which code is responsible for setting host->data to NULL
in case of successful sdio command completion?
2. Also when I issue sdio_writesb - I get an error status 108001
in mmc_omap_irq. If I've decoded it correctly it means CC, ERR and
DATA_TIMEOUT. What does it means and when this could be happened?
3. When I issue sdio_readw - it simply hangs, even without any
call to mmc_omap_irq.
How can I fix these?
Thanks in advance,
Dmitriy
next reply other threads:[~2008-05-26 9:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 9:27 Dmitriy Chumak [this message]
[not found] <200805211521.10604.dmytro.chumak@inobject.com>
2008-05-21 12:48 ` sdio cmd53 doesn't work on omap 2430sdp Madhusudhan Chikkature Rajashekar
2008-05-21 13:16 ` Dmitriy Chumak
2008-05-21 19:42 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200805261227.57990.dmytro.chumak@inobject.com \
--to=dmytro.chumak@inobject.com \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox