summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2012-01-26 12:04:11 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-29 16:31:22 -0800
commit7171d39d2187d3a59f8a2452bce6691755c0b153 (patch)
treef513b4f61dc47c2f6351579356e92332320991be /kernel
parent81fa1b30877282eb79de420b7e29d09737ab86eb (diff)
imon: don't wedge hardware after early callbacks
commit 8791d63af0cf113725ae4cb8cba9492814c59a93 upstream. This patch is just a minor update to one titled "imon: Input from ffdc device type ignored" from Corinna Vinschen. An earlier patch to prevent an oops when we got early callbacks also has the nasty side-effect of wedging imon hardware, as we don't acknowledge the urb. Rework the check slightly here to bypass processing the packet, as the driver isn't yet fully initialized, but still acknowlege the urb and submit a new rx_urb. Do this for both interfaces -- irrelevant for ffdc hardware, but relevant for newer hardware, though newer hardware doesn't spew the constant stream of data as soon as the hardware is initialized like the older ffdc devices, so they'd be less likely to trigger this anyway... Tested with both an ffdc device and an 0042 device. Reported-by: Corinna Vinschen <vinschen@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions