From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: Help needed, Re: [Bug #14334] pcmcia suspend regression from 2.6.31.1 to 2.6.31.2 - Dell Inspiron 600m Date: Sat, 31 Oct 2009 14:57:42 -0700 (PDT) Message-ID: References: <200910312227.15493.rjw@sisk.pl> <200910312252.39446.rjw@sisk.pl> Mime-Version: 1.0 Return-path: In-Reply-To: <200910312252.39446.rjw-KKrjLPT3xs0@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Rafael J. Wysocki" Cc: Benjamin Herrenschmidt , Linux Kernel Mailing List , Kernel Testers List , Greg Kroah-Hartman , Jose Marino , ACPI Devel Maling List , Linux PCI , Dominik Brodowski On Sat, 31 Oct 2009, Rafael J. Wysocki wrote: > > Yes, there is, because socket_early_resume() only does it in > the (skt->state & SOCKET_PRESENT) case. If that bit is not set, the > initialization is entirely postponed. Ahh, ok. And what's the reason for that? It seems like the skt->socket = dead_socket; skt->ops->init(skt); skt->ops->set_socket(skt, &skt->socket); thing should always be safe, whether there is something present or not.. ? Linus