From: Sergey Yanovich <ynvich@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Sergey Yanovich <ynvich@gmail.com>
Subject: [PATCH] [mmc] [tifm] Reduces delay in card insert/removal
Date: Thu, 26 Apr 2007 01:13:16 +0300 [thread overview]
Message-ID: <11775391961930-git-send-email-ynvich@gmail.com> (raw)
Message-ID: <033d5e9dede8853d54e81bc9c1435a2b7915518b.1177536863.git.ynvich@gmail.com> (raw)
In-Reply-To: 200704200056.33866.arnd@arndb.de
In-Reply-To: <5e03dd4e0b14c8155162a5b5b1cea4ed7e04cea3.1177536862.git.ynvich@gmail.com>
First, I tried to replace 'mdelay' with 'msleep' and put it after
'unlock'. It gives a certain oops.
With the delay of 50 msec driver remains stable. It has something
to do with hardware initialization, so this value should not be
affected by CPU speed. I hope so.
Signed-off-by: Sergey Yanovich <ynvich@gmail.com>
---
drivers/mmc/tifm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/tifm.c b/drivers/mmc/tifm.c
index 30cab30..310f07c 100644
--- a/drivers/mmc/tifm.c
+++ b/drivers/mmc/tifm.c
@@ -361,7 +361,7 @@ mmc_tifm_irq_chip(unsigned long param)
socket->state = READY;
tasklet_schedule(&socket->cmd_end);
}
- mdelay(100);
+ mdelay(50);
spin_unlock_irqrestore(&socket->lock, flags);
mmc_detect_change(mmc, 0);
}
--
1.5.1.2
prev parent reply other threads:[~2007-04-25 22:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-19 20:53 [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7 Sergey Yanovich
2007-04-19 22:56 ` Arnd Bergmann
2007-04-20 9:22 ` Sergey Yanovich
2007-04-25 21:59 ` [PATCH] [mmc] Removes custom debug macro Sergey Yanovich
2007-04-25 21:44 ` Sergey Yanovich
2007-04-25 21:59 ` Sergey Yanovich
2007-04-25 22:15 ` Arnd Bergmann
2007-04-25 21:59 ` [PATCH] [mmc] [tifm] Reduces delay in card insert/removal Sergey Yanovich
2007-04-25 21:44 ` Sergey Yanovich
2007-04-25 21:59 ` Sergey Yanovich
2007-04-25 23:00 ` Arnd Bergmann
2007-04-25 22:13 ` Sergey Yanovich [this message]
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=11775391961930-git-send-email-ynvich@gmail.com \
--to=ynvich@gmail.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.