Commit 6501ff60 authored by Pierre Ossman's avatar Pierre Ossman

sdio: give sdio irq thread a host specific name

There is one thread per host controller so make sure they all get
unique names.
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent e633b7bc
...@@ -159,7 +159,8 @@ static int sdio_card_irq_get(struct mmc_card *card) ...@@ -159,7 +159,8 @@ static int sdio_card_irq_get(struct mmc_card *card)
if (!host->sdio_irqs++) { if (!host->sdio_irqs++) {
atomic_set(&host->sdio_irq_thread_abort, 0); atomic_set(&host->sdio_irq_thread_abort, 0);
host->sdio_irq_thread = host->sdio_irq_thread =
kthread_run(sdio_irq_thread, host, "ksdiorqd"); kthread_run(sdio_irq_thread, host, "ksdioirqd/%s",
mmc_hostname(host));
if (IS_ERR(host->sdio_irq_thread)) { if (IS_ERR(host->sdio_irq_thread)) {
int err = PTR_ERR(host->sdio_irq_thread); int err = PTR_ERR(host->sdio_irq_thread);
host->sdio_irqs--; host->sdio_irqs--;
......
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