Received: by 10.223.185.116 with SMTP id b49csp185487wrg; Thu, 15 Feb 2018 19:31:26 -0800 (PST) X-Google-Smtp-Source: AH8x224Ae72VK09/IFgcA3gR+c91T2cCaZkQb9/k1cVx3SxE/kfXTUL4JKFX8LBwySIUgLHq33dv X-Received: by 10.99.47.132 with SMTP id v126mr3977315pgv.129.1518751886435; Thu, 15 Feb 2018 19:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518751886; cv=none; d=google.com; s=arc-20160816; b=PljCCTRQNL+sYiRVhOurOd1gWGwS3628KSy5/x5nH7JWggobIO+Ahe/GgeA39ibDJN 1dzp/qdebCSiFOn6YqDVR33DOyb9DWT/Xzw/LZtpt2KQTyAUK20IdIA4k2cSwdbR9pgj GzjRQcOTT+Rfahv6CYHxoAEWDetd4PoS/sWaM/E8Q2mUerV3+8r5Q/5M5ECLmmn5DGPB belvvbvy6ZINBf4TbEPhvjXWJjVSj33Y/mmc0Nl6Dgjc3RWdtXb5aLiQ44v+wCaRuWoR Vd0B/S3HPOGZebmbEpIPxNP2vG/zm663PbFY6NNU90cfC5eWD1683+D7iNc8296JSMml WnPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ga8aKKGSQXZK9wHSY/I6uMeIphqES9PnGF64dIAGLYc=; b=ZCt0ixZyRkQvsvgxXQhDfj0+S+gnnKFADoEY+6IkTi5Lin9FKy31K0N0pvk6vBzZZz 1bjU5VOUaUchoxjf4sjmX2ZYtXreKORsvrxcWS7y9OahgOJ1NRilFpWHnBi7uDNl4ows hQ8kgyltelRt31n11+PvIqCTf5oYsVO2Qf9xWz/hBV1rfqvdGlKLSSRtdfIrICqSHDfi A+sM15U3MywMgUBVTJyX9taBXUFv1DuZeFHSv5ZDswkz+bZwACe/zuQ1urVQmliM/gUP mrGIxd3SoaHjk5olzf6bMg0H2k2qyd9yZfw6mk+Z0she3VG0xW1uIOw0493lSG66zRYr Dk7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si11582407plc.814.2018.02.15.19.31.09; Thu, 15 Feb 2018 19:31:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424533AbeBOPps (ORCPT + 99 others); Thu, 15 Feb 2018 10:45:48 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35088 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423883AbeBOPpp (ORCPT ); Thu, 15 Feb 2018 10:45:45 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 16C5E11CE; Thu, 15 Feb 2018 15:45:44 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Enrico Mioso , Mauro Carvalho Chehab Subject: [PATCH 4.15 155/202] media: cxusb, dib0700: ignore XC2028_I2C_FLUSH Date: Thu, 15 Feb 2018 16:17:35 +0100 Message-Id: <20180215151721.040390538@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151712.768794354@linuxfoundation.org> References: <20180215151712.768794354@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mauro Carvalho Chehab commit 9893b905e743ded332575ca04486bd586c0772f7 upstream. The XC2028_I2C_FLUSH only needs to be implemented on a few devices. Others can safely ignore it. That prevents filling the dmesg with lots of messages like: dib0700: stk7700ph_xc3028_callback: unknown command 2, arg 0 Fixes: 4d37ece757a8 ("[media] tuner/xc2028: Add I2C flush callback") Reported-by: Enrico Mioso Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/media/usb/dvb-usb/cxusb.c | 2 ++ drivers/media/usb/dvb-usb/dib0700_devices.c | 1 + 2 files changed, 3 insertions(+) --- a/drivers/media/usb/dvb-usb/cxusb.c +++ b/drivers/media/usb/dvb-usb/cxusb.c @@ -677,6 +677,8 @@ static int dvico_bluebird_xc2028_callbac case XC2028_RESET_CLK: deb_info("%s: XC2028_RESET_CLK %d\n", __func__, arg); break; + case XC2028_I2C_FLUSH: + break; default: deb_info("%s: unknown command %d, arg %d\n", __func__, command, arg); --- a/drivers/media/usb/dvb-usb/dib0700_devices.c +++ b/drivers/media/usb/dvb-usb/dib0700_devices.c @@ -430,6 +430,7 @@ static int stk7700ph_xc3028_callback(voi state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); break; case XC2028_RESET_CLK: + case XC2028_I2C_FLUSH: break; default: err("%s: unknown command %d, arg %d\n", __func__,