]> git.baikalelectronics.ru Git - kernel.git/commit
[media] siano: remove a bogus printk line
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Mar 2013 15:59:50 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:53:42 +0000 (07:53 -0300)
commit68b6216c73dded8ad7418633ecb66f445214187f
tree35dedbd1516a1fc039d63e3b2a14b0eca2ef4656
parent31ee97ce4a71fcf9e5a95878658c1a4f84068864
[media] siano: remove a bogus printk line

The logic that detects the types of sms devices is bogus. It returns
[ 4645.187790] smsusb_init_device: line: 372: Unspecified sms device type!
For several devices, including the one I have (SMS_RIO). In a matter
of fact, the right thing to do there is to print an error only if
the device is really unknown (SMS_UNKNOWN_TYPE).

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/siano/smsusb.c