OSDN Git Service

Add USB quirk for HVR-950q to avoid intermittent device resets
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Tue, 27 Jun 2017 17:08:51 +0000 (13:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Jul 2017 09:57:45 +0000 (11:57 +0200)
commitab96add78bfe764a4994545993ac1c32978f8dc0
treee973d6614a38545fcd72a28e5ee718eb9e2667fd
parent45c73d0c7a96890e6a4e45576d4c544e15bed6e6
Add USB quirk for HVR-950q to avoid intermittent device resets

commit 6836796de4019944f4ba4c99a360e8250fd2e735 upstream.

The USB core and sysfs will attempt to enumerate certain parameters
which are unsupported by the au0828 - causing inconsistent behavior
and sometimes causing the chip to reset.  Avoid making these calls.

This problem manifested as intermittent cases where the au8522 would
be reset on analog video startup, in particular when starting up ALSA
audio streaming in parallel - the sysfs entries created by
snd-usb-audio on streaming startup would result in unsupported control
messages being sent during tuning which would put the chip into an
unknown state.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c