Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d10f3d7 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB: ix2505v: make scripts/checkpatch.pl happy



WARNING: please, no space before tabs
+ *  ^IPOR = Power on Reset (VCC H=<2.2v L=>2.2v)$

WARNING: unnecessary whitespace before a quoted newline
+	deb_info("Frq=%d x=%d N=%d A=%d \n", frequency, x, N, A);

WARNING: please, no space before tabs
+^Ielse ^I^I/*frequency up to 2150000*/$

WARNING: unnecessary whitespace before a quoted newline
+	deb_info("Data 0=[%x%x%x%x] \n", data[0], data[1], data[2], data[3]);

WARNING: unnecessary whitespace before a quoted newline
+	deb_info("Data 2=[%x%x] \n", data[2], data[3]);

Cc: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1ae2c589
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -26,8 +26,9 @@
#include "ix2505v.h"

static int ix2505v_debug;
#define dprintk(level, args...) \
	do { if (ix2505v_debug & level) printk(KERN_DEBUG "ix2505v: " args); \
#define dprintk(level, args...) do { \
	if (ix2505v_debug & level) \
		printk(KERN_DEBUG "ix2505v: " args); \
} while (0)

#define deb_info(args...)  dprintk(0x01, args)
@@ -187,7 +188,6 @@ static int ix2505v_set_params(struct dvb_frontend *fe,

	data[3] = local_osc; /* all other bits set 0 */


	if (b_w <= 10000)
		lpf = 0xc;
	else if (b_w <= 12000)
@@ -226,7 +226,6 @@ static int ix2505v_set_params(struct dvb_frontend *fe,
	len = 1;
	ret |= ix2505v_write(state, &data[2], len); /* write byte 4 only */


	msleep(10);

	data[2] |= ((lpf >> 2) & 0x3) << 3; /* lpf */