Commit 4fe130f2 authored by Monam Agarwal's avatar Monam Agarwal Committed by Greg Kroah-Hartman

Staging: media/cxd2099: Fix line length over 80 characters

This patch fixes the following checkpatch.pl issues in cxd2099.c
WARNING: line length over 80 characters
Signed-off-by: default avatarMonam Agarwal <monamagarwal123@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 41df49e0
...@@ -329,11 +329,14 @@ static int init(struct cxd *ci) ...@@ -329,11 +329,14 @@ static int init(struct cxd *ci)
break; break;
#if 0 #if 0
status = write_reg(ci, 0x09, 0x4D); /* Input Mode C, BYPass Serial, TIVAL = low, MSB */ /* Input Mode C, BYPass Serial, TIVAL = low, MSB */
status = write_reg(ci, 0x09, 0x4D);
if (status < 0) if (status < 0)
break; break;
#endif #endif
status = write_reg(ci, 0x0A, 0xA7); /* TOSTRT = 8, Mode B (gated clock), falling Edge, Serial, POL=HIGH, MSB */ /* TOSTRT = 8, Mode B (gated clock), falling Edge,
* Serial, POL=HIGH, MSB */
status = write_reg(ci, 0x0A, 0xA7);
if (status < 0) if (status < 0)
break; break;
...@@ -589,7 +592,7 @@ static int campoll(struct cxd *ci) ...@@ -589,7 +592,7 @@ static int campoll(struct cxd *ci)
read_reg(ci, 0x01, &slotstat); read_reg(ci, 0x01, &slotstat);
if (!(2&slotstat)) { if (!(2&slotstat)) {
if (!ci->slot_stat) { if (!ci->slot_stat) {
ci->slot_stat |= DVB_CA_EN50221_POLL_CAM_PRESENT; ci->slot_stat = DVB_CA_EN50221_POLL_CAM_PRESENT;
write_regm(ci, 0x03, 0x08, 0x08); write_regm(ci, 0x03, 0x08, 0x08);
} }
...@@ -601,7 +604,8 @@ static int campoll(struct cxd *ci) ...@@ -601,7 +604,8 @@ static int campoll(struct cxd *ci)
ci->ready = 0; ci->ready = 0;
} }
} }
if (istat&8 && ci->slot_stat == DVB_CA_EN50221_POLL_CAM_PRESENT) { if (istat&8 &&
ci->slot_stat == DVB_CA_EN50221_POLL_CAM_PRESENT) {
ci->ready = 1; ci->ready = 1;
ci->slot_stat |= DVB_CA_EN50221_POLL_CAM_READY; ci->slot_stat |= DVB_CA_EN50221_POLL_CAM_READY;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment