]> 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)
commit8f3db75aaf7968ec664ff2ecac8144e6f2012d69
tree35dedbd1516a1fc039d63e3b2a14b0eca2ef4656
parent0f9eeb381540b1fb0e9da07534b9e3aae47c0726
[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