From: Patrick Mochel <mochel@osdl.org>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PM] Make yenta work
Date: Mon, 4 Aug 2003 18:04:37 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0308041804020.23977-100000@cherise> (raw)
In-Reply-To: <20030726225915.GA537@elf.ucw.cz>
> This makes yenta work, and its really trivial...
> Pavel
>
> Index: linux/drivers/pcmcia/yenta_socket.c
> ===================================================================
> --- linux.orig/drivers/pcmcia/yenta_socket.c 2003-07-22 13:39:42.000000000 +0200
> +++ linux/drivers/pcmcia/yenta_socket.c 2003-07-17 22:22:58.000000000 +0200
> @@ -899,7 +899,10 @@
>
> static int yenta_dev_suspend (struct pci_dev *dev, u32 state)
> {
> - return pcmcia_socket_dev_suspend(&dev->dev, state, 0);
> + /* FIXME: We should really let devices to act on *all* levels :-(.
> + If you put something else than SUSPEND_SAVE_STATE,
> + pcmcia_socket_dev_suspend() will simply do nothing due to its check. */
> + return pcmcia_socket_dev_suspend(&dev->dev, state, SUSPEND_SAVE_STATE);
> }
I believe I saw a patch from Russell get in over the weekend that did
this, right?
-pat
next prev parent reply other threads:[~2003-08-05 1:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-26 22:59 [PM] Make yenta work Pavel Machek
2003-08-05 1:04 ` Patrick Mochel [this message]
2003-08-05 8:06 ` Russell King
2003-07-28 13:48 Michael Frank
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=Pine.LNX.4.44.0308041804020.23977-100000@cherise \
--to=mochel@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).