From patchwork Fri Mar 23 19:47:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Mayo X-Patchwork-Id: 10305547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 96831600CC for ; Fri, 23 Mar 2018 19:54:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8756729141 for ; Fri, 23 Mar 2018 19:54:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B01129144; Fri, 23 Mar 2018 19:54:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0277329141 for ; Fri, 23 Mar 2018 19:54:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbeCWTyr (ORCPT ); Fri, 23 Mar 2018 15:54:47 -0400 Received: from avasout01.plus.net ([84.93.230.227]:46722 "EHLO avasout01.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751921AbeCWTyq (ORCPT ); Fri, 23 Mar 2018 15:54:46 -0400 X-Greylist: delayed 451 seconds by postgrey-1.27 at vger.kernel.org; Fri, 23 Mar 2018 15:54:46 EDT Received: from mailserver ([51.7.33.192]) by smtp with ESMTP id zSegef2HgMLyGzSehe3Qas; Fri, 23 Mar 2018 19:47:15 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=HInt6Llv c=1 sm=1 tr=0 a=8lgo6mz5yymptK0/shYysg==:117 a=8lgo6mz5yymptK0/shYysg==:17 a=x7bEGLp0ZPQA:10 a=YbTMELGUhT8A:10 a=pGLkceISAAAA:8 a=uJGrPE2ZIOL2Rj-ZCDwA:9 From: Chris Mayo To: linux-media@vger.kernel.org Subject: [PATCH] media: em28xx-cards: output regular messages as info Date: Fri, 23 Mar 2018 19:47:13 +0000 Message-Id: <20180323194713.32435-1-aklhfex@gmail.com> X-Mailer: git-send-email 2.16.1 X-CMAE-Envelope: MS4wfPD50kQgQ2n5jOR5tPQJZkelQ4d57LJj2MZfsoXozozHvfx4r2CjeCGCrf5AcX+Btle8UlUB7Op/gmsYMbXOxevqRtD2JsuwZfflt84G6Ix1u2hOU6pf IxDBsD2J8LUoSziNy1bwU6AOqmrqXf04z6yxbdXdzk5+YLWye2O3Fwfy Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Messages expected during device probe were being marked as errors. Signed-off-by: Chris Mayo --- drivers/media/usb/em28xx/em28xx-cards.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c index 6e0e67d23..8977c2be3 100644 --- a/drivers/media/usb/em28xx/em28xx-cards.c +++ b/drivers/media/usb/em28xx/em28xx-cards.c @@ -3736,7 +3736,7 @@ static int em28xx_usb_probe(struct usb_interface *intf, speed = "unknown"; } - dev_err(&intf->dev, + dev_info(&intf->dev, "New device %s %s @ %s Mbps (%04x:%04x, interface %d, class %d)\n", udev->manufacturer ? udev->manufacturer : "", udev->product ? udev->product : "", @@ -3771,7 +3771,7 @@ static int em28xx_usb_probe(struct usb_interface *intf, dev->dev_next = NULL; if (has_vendor_audio) { - dev_err(&intf->dev, + dev_info(&intf->dev, "Audio interface %i found (Vendor Class)\n", ifnum); dev->usb_audio_type = EM28XX_USB_AUDIO_VENDOR; } @@ -3790,12 +3790,12 @@ static int em28xx_usb_probe(struct usb_interface *intf, } 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, dev->analog_ep_bulk ? " bulk" : "", dev->analog_ep_isoc ? " isoc" : ""); 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, dev->dvb_ep_bulk ? " bulk" : "", dev->dvb_ep_isoc ? " isoc" : ""); @@ -3837,13 +3837,13 @@ static int em28xx_usb_probe(struct usb_interface *intf, if (has_video) { if (!dev->analog_ep_isoc || (try_bulk && dev->analog_ep_bulk)) 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"); } if (has_dvb) { if (!dev->dvb_ep_isoc || (try_bulk && dev->dvb_ep_bulk)) 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"); }