lkml.org 
[lkml]   [2003]   [Jun]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 17 Jun 2003 07:43:56 +0200
FromPeter Lundkvist <>
SubjectRe: 2.5.71 go boom
Russell King wrote:
> Great, this helps a lot.  While I remove the bullet from my foot, could
> you test this patch please?
> 
> --- linux/drivers/pcmcia/cs.c.old	Mon Jun 16 21:17:45 2003
> +++ linux/drivers/pcmcia/cs.c	Mon Jun 16 21:24:23 2003
> @@ -817,7 +817,8 @@
>  				if ((skt->state & SOCKET_PRESENT) &&
>  				     !(status & SS_DETECT))
>  					socket_shutdown(skt);
> -				if (status & SS_DETECT)
> +				if (!(skt->state & SOCKET_PRESENT) &&
> +				    status & SS_DETECT)
>  					socket_insert(skt);
>  			}
>  			if (events & SS_BATDEAD)

A quick test with this patch against 2.5.71: Works OK now!

Thank you

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008