[PATCH] dib700: stop flooding system ring buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stop flooding system ring buffer with messages like:
dib0700: stk7700ph_xc3028_callback: unknown command 2, arg 0
while tuning an Asus My Cinema-U3000Hybrid dvb card.

The correctness of this patch is opinable, but it's annoying me so much I
sent it anyway.

CC: linux-media@xxxxxxxxxxxxxxx
CC: Sean Young <sean@xxxxxxxx>
CC: Piotr Oleszczyk <piotr.oleszczyk@xxxxxxxxx>
CC: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
CC: Alexey Dobriyan <adobriyan@xxxxxxxxx>
CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Signed-off-by: Enrico Mioso <mrkiko.rs@xxxxxxxxx>
---
 drivers/media/usb/dvb-usb/dib0700_devices.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/media/usb/dvb-usb/dib0700_devices.c b/drivers/media/usb/dvb-usb/dib0700_devices.c
index 366b05529915..bc5d250ed2f2 100644
--- a/drivers/media/usb/dvb-usb/dib0700_devices.c
+++ b/drivers/media/usb/dvb-usb/dib0700_devices.c
@@ -432,8 +432,7 @@ static int stk7700ph_xc3028_callback(void *ptr, int component,
 	case XC2028_RESET_CLK:
 		break;
 	default:
-		err("%s: unknown command %d, arg %d\n", __func__,
-			command, arg);
+		break;
 		return -EINVAL;
 	}
 	return 0;
-- 
2.16.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux