From: Arnd Bergmann <arnd@arndb.de>
To: wei_wang@realsil.com.cn
Cc: gregkh@linuxfoundation.org, devel@linuxdriverproject.org,
linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org,
cjb@laptop.org, sameo@linux.intel.com, bp@alien8.de,
Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH v2 1/2] drivers/mfd: Add realtek pcie card reader driver
Date: Wed, 15 Aug 2012 06:40:54 +0000 [thread overview]
Message-ID: <201208150640.54561.arnd@arndb.de> (raw)
In-Reply-To: <81fef7d4f337f6d8e3365752bbb3ef87302b82a0.1344939464.git.wei_wang@realsil.com.cn>
On Tuesday 14 August 2012, wei_wang@realsil.com.cn wrote:
> +
> +void rtsx_pci_start_run(struct rtsx_pcr *pcr)
> +{
> + /* If pci device removed, don't queue idle work any more */
> + if (pcr->remove_pci)
> + return;
> +
> + if (pcr->state != PDEV_STAT_RUN) {
> + pcr->state = PDEV_STAT_RUN;
> + pcr->ops->enable_auto_blink(pcr);
> + }
> +
> + mod_timer(&pcr->idle_timer, jiffies + msecs_to_jiffies(200));
> +}
> +EXPORT_SYMBOL_GPL(rtsx_pci_start_run);
One more comment on the mod_timer/queue_work combination: I just saw that
Tejun Heo posted a series to introduce a new mod_delayed_work() helper.
Once that goes in, it would be best to start using it here.
Arnd
next prev parent reply other threads:[~2012-08-15 6:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 10:40 [PATCH v2 0/2] Add modules to support realtek PCIE card reader wei_wang
2012-08-14 10:40 ` wei_wang
2012-08-14 10:40 ` [PATCH v2 1/2] drivers/mfd: Add realtek pcie card reader driver wei_wang
2012-08-14 10:40 ` wei_wang
2012-08-15 6:40 ` Arnd Bergmann [this message]
2012-08-16 21:25 ` Tejun Heo
2012-08-14 10:40 ` [PATCH v2 2/2] drivers/mmc: Add realtek pcie sdmmc host driver wei_wang
2012-08-14 10:40 ` wei_wang
2012-08-14 15:05 ` [PATCH v2 0/2] Add modules to support realtek PCIE card reader Borislav Petkov
2012-08-14 15:05 ` Borislav Petkov
2012-08-14 15:22 ` 答复: " 王炜
2012-08-14 16:14 ` Borislav Petkov
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=201208150640.54561.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=bp@alien8.de \
--cc=cjb@laptop.org \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=sameo@linux.intel.com \
--cc=tj@kernel.org \
--cc=wei_wang@realsil.com.cn \
/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.