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: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user