Commit 8647d26e authored by Joel Cunningham's avatar Joel Cunningham Committed by Ulf Hansson

mmc: update sdio_claim_irq documentation

Update documentation for sdio_claim_irq to downgrade the wording
about doing recursive claims in an IRQ handler from 'must not' to
'should not'. This clarifies that recursive claims are supported,
but not the recommended (best) practice
Signed-off-by: default avatarJoel Cunningham <joel.cunningham@garmin.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 9c5c685e
...@@ -277,8 +277,8 @@ static void sdio_single_irq_set(struct mmc_card *card) ...@@ -277,8 +277,8 @@ static void sdio_single_irq_set(struct mmc_card *card)
* *
* Claim and activate the IRQ for the given SDIO function. The provided * Claim and activate the IRQ for the given SDIO function. The provided
* handler will be called when that IRQ is asserted. The host is always * handler will be called when that IRQ is asserted. The host is always
* claimed already when the handler is called so the handler must not * claimed already when the handler is called so the handler should not
* call sdio_claim_host() nor sdio_release_host(). * call sdio_claim_host() or sdio_release_host().
*/ */
int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler) int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment