Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Joel Cunningham <joel.cunningham@garmin.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Joel Cunningham and committed by
Ulf Hansson
8647d26e 9c5c685e

+2 -2
+2 -2
drivers/mmc/core/sdio_irq.c
··· 277 277 * 278 278 * Claim and activate the IRQ for the given SDIO function. The provided 279 279 * handler will be called when that IRQ is asserted. The host is always 280 - * claimed already when the handler is called so the handler must not 281 - * call sdio_claim_host() nor sdio_release_host(). 280 + * claimed already when the handler is called so the handler should not 281 + * call sdio_claim_host() or sdio_release_host(). 282 282 */ 283 283 int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler) 284 284 {