android_kernel_xiaomi_sm8350/drivers/usb/class
Pete Zaitcev dd44be6b17 usblp: continuously poll for status
The usblp in 2.6.18 polled for status regardless if we actually needed it.
At some point I dropped it, to save the batteries if nothing else.
As it turned out, printers exist (e.g. Canon BJC-3000) that need prodding
this way or else they stop. This patch restores the old behaviour.
If you want to save battery, don't leave jobs in the print queue.

I tested this on my printers by printing and examining usbmon traces
to make sure status is being requested and printers continue to print.
Tuomas Jäntti verified the fix on BJC-3000.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-24 16:20:26 -07:00
..
cdc-acm.c USB: Quirk for Hummingbird huc56s / Conexant ACM modem 2009-02-27 14:40:50 -08:00
cdc-acm.h
cdc-wdm.c
Kconfig
Makefile
usblp.c usblp: continuously poll for status 2009-03-24 16:20:26 -07:00
usbtmc.c USB: usbtmc: add protocol 1 support 2009-03-17 14:01:28 -07:00