Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756233Ab2KHPz4 (ORCPT ); Thu, 8 Nov 2012 10:55:56 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:55575 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756182Ab2KHPzv (ORCPT ); Thu, 8 Nov 2012 10:55:51 -0500 Date: Thu, 8 Nov 2012 10:55:50 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Takashi Iwai cc: Daniel Mack , Christof Meerwald , "Artem S. Tashkinov" , Kernel development list , USB list Subject: Re: A reliable kernel panic (3.6.2) and system crash when visiting a particular website In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 34 On Thu, 8 Nov 2012, Takashi Iwai wrote: > At Thu, 08 Nov 2012 08:31:35 +0100, > Daniel Mack wrote: > (snip) > > >> We can't simply stop both endpoints in the prepare callback. > > > > > > The new function doesn't stop the stream by itself but it just syncs > > > if the stream is being stopped beforehand. So, it's safe to call it > > > there. > > > > > > Maybe the name was confusing. It should have been like > > > snd_usb_endpoint_sync_pending_stop() or such. > > > > Ah, right. I was errornously looking closer to Alan's patch but then > > replied to yours. Alright then - thanks for explaining :) > > OK, thanks for checking. > > FWIW, below is the patch I applied now to for-linus branch. > Renamed the function, added the comment and put NULL check to the > function to simplify. Thanks for fixing this. Is your patch marked for -stable? I have submitted a patch for ehci-hcd, so we should be all set. Alan Stern -- 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/