Commit 0a8b9993 authored by Chris Mayo's avatar Chris Mayo Committed by Mauro Carvalho Chehab

media: em28xx-cards: output regular messages as info

Messages expected during device probe were being marked as errors.
Signed-off-by: default avatarChris Mayo <aklhfex@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 59a89140
...@@ -3738,7 +3738,7 @@ static int em28xx_usb_probe(struct usb_interface *intf, ...@@ -3738,7 +3738,7 @@ static int em28xx_usb_probe(struct usb_interface *intf,
speed = "unknown"; speed = "unknown";
} }
dev_err(&intf->dev, dev_info(&intf->dev,
"New device %s %s @ %s Mbps (%04x:%04x, interface %d, class %d)\n", "New device %s %s @ %s Mbps (%04x:%04x, interface %d, class %d)\n",
udev->manufacturer ? udev->manufacturer : "", udev->manufacturer ? udev->manufacturer : "",
udev->product ? udev->product : "", udev->product ? udev->product : "",
...@@ -3773,7 +3773,7 @@ static int em28xx_usb_probe(struct usb_interface *intf, ...@@ -3773,7 +3773,7 @@ static int em28xx_usb_probe(struct usb_interface *intf,
dev->dev_next = NULL; dev->dev_next = NULL;
if (has_vendor_audio) { if (has_vendor_audio) {
dev_err(&intf->dev, dev_info(&intf->dev,
"Audio interface %i found (Vendor Class)\n", ifnum); "Audio interface %i found (Vendor Class)\n", ifnum);
dev->usb_audio_type = EM28XX_USB_AUDIO_VENDOR; dev->usb_audio_type = EM28XX_USB_AUDIO_VENDOR;
} }
...@@ -3792,12 +3792,12 @@ static int em28xx_usb_probe(struct usb_interface *intf, ...@@ -3792,12 +3792,12 @@ static int em28xx_usb_probe(struct usb_interface *intf,
} }
if (has_video) if (has_video)
dev_err(&intf->dev, "Video interface %i found:%s%s\n", dev_info(&intf->dev, "Video interface %i found:%s%s\n",
ifnum, ifnum,
dev->analog_ep_bulk ? " bulk" : "", dev->analog_ep_bulk ? " bulk" : "",
dev->analog_ep_isoc ? " isoc" : ""); dev->analog_ep_isoc ? " isoc" : "");
if (has_dvb) if (has_dvb)
dev_err(&intf->dev, "DVB interface %i found:%s%s\n", dev_info(&intf->dev, "DVB interface %i found:%s%s\n",
ifnum, ifnum,
dev->dvb_ep_bulk ? " bulk" : "", dev->dvb_ep_bulk ? " bulk" : "",
dev->dvb_ep_isoc ? " isoc" : ""); dev->dvb_ep_isoc ? " isoc" : "");
...@@ -3839,13 +3839,13 @@ static int em28xx_usb_probe(struct usb_interface *intf, ...@@ -3839,13 +3839,13 @@ static int em28xx_usb_probe(struct usb_interface *intf,
if (has_video) { if (has_video) {
if (!dev->analog_ep_isoc || (try_bulk && dev->analog_ep_bulk)) if (!dev->analog_ep_isoc || (try_bulk && dev->analog_ep_bulk))
dev->analog_xfer_bulk = 1; dev->analog_xfer_bulk = 1;
dev_err(&intf->dev, "analog set to %s mode.\n", dev_info(&intf->dev, "analog set to %s mode.\n",
dev->analog_xfer_bulk ? "bulk" : "isoc"); dev->analog_xfer_bulk ? "bulk" : "isoc");
} }
if (has_dvb) { if (has_dvb) {
if (!dev->dvb_ep_isoc || (try_bulk && dev->dvb_ep_bulk)) if (!dev->dvb_ep_isoc || (try_bulk && dev->dvb_ep_bulk))
dev->dvb_xfer_bulk = 1; dev->dvb_xfer_bulk = 1;
dev_err(&intf->dev, "dvb set to %s mode.\n", dev_info(&intf->dev, "dvb set to %s mode.\n",
dev->dvb_xfer_bulk ? "bulk" : "isoc"); dev->dvb_xfer_bulk ? "bulk" : "isoc");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment