Message ID | CAKocOOOHOt+VLioHt0qcOA_sGnLynMW99RBaARgZbysr8Nf4kw@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Mar 18, 2016 at 05:00:25PM -0600, Shuah Khan wrote: > On Fri, Mar 18, 2016 at 4:26 PM, > Greg KH <gregkh@linuxfoundation.org> wrote: > > Hi, > > > > I'm getting the following oops with my USB sound device using Linus's > > latest tree of the moment, which has the sound tree pull in it. Anyone > > seen this before? > > > > Hi Greg, > > Nicolai Stange sent in a fix for this problem - I can't find the link to this. > It is coming in through Linux Media tree. Thanks, Nicolai sent a link, your inline patch was somehow corrupted :( thanks, greg k-h
diff --git a/sound/usb/card.c b/sound/usb/card.c index 63244bb..479621e 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c @@ -612,7 +612,7 @@ static int usb_audio_probe(struct usb_interface *intf, if (err < 0) goto __error; - if (quirk->media_device) { + if (quirk && quirk->media_device) { /* don't want to fail when media_snd_device_create() fails */ media_snd_device_create(chip, intf); }