diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2008-08-31 07:42:00 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-10-12 05:04:30 -0400 |
commit | 6501ff604a5ae18697c9b4cd40a7738d3a68e7fe (patch) | |
tree | 122a4ebce66397e265d4cbcebb4869a8f3add25b /drivers/mmc | |
parent | e633b7bcec8e26991d489a11615acf7674efbaf4 (diff) |
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: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/sdio_irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 722924cdf595..bb192f90e8e9 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c | |||
@@ -159,7 +159,8 @@ static int sdio_card_irq_get(struct mmc_card *card) | |||
159 | if (!host->sdio_irqs++) { | 159 | if (!host->sdio_irqs++) { |
160 | atomic_set(&host->sdio_irq_thread_abort, 0); | 160 | atomic_set(&host->sdio_irq_thread_abort, 0); |
161 | host->sdio_irq_thread = | 161 | host->sdio_irq_thread = |
162 | kthread_run(sdio_irq_thread, host, "ksdiorqd"); | 162 | kthread_run(sdio_irq_thread, host, "ksdioirqd/%s", |
163 | mmc_hostname(host)); | ||
163 | if (IS_ERR(host->sdio_irq_thread)) { | 164 | if (IS_ERR(host->sdio_irq_thread)) { |
164 | int err = PTR_ERR(host->sdio_irq_thread); | 165 | int err = PTR_ERR(host->sdio_irq_thread); |
165 | host->sdio_irqs--; | 166 | host->sdio_irqs--; |