Skip to content

Commit 3be5bb7

Browse files
mkrufkyMauro Carvalho Chehab
authored and
Mauro Carvalho Chehab
committed
[media] mxl111sf: fix error on stream stop in mxl111sf_ep6_streaming_ctrl()
Remove unnecessary register access in mxl111sf_ep6_streaming_ctrl() This code breaks driver operation in kernel 3.3 and later, although it works properly in 3.2 Disable register access to 0x12 for now. Signed-off-by: Michael Krufky <[email protected]> Cc: [email protected] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 3553085 commit 3be5bb7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

drivers/media/dvb/dvb-usb/mxl111sf.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,15 +351,13 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
351351
adap_state->ep6_clockphase,
352352
0, 0);
353353
mxl_fail(ret);
354+
#if 0
354355
} else {
355356
ret = mxl111sf_disable_656_port(state);
356357
mxl_fail(ret);
358+
#endif
357359
}
358360

359-
mxl111sf_read_reg(state, 0x12, &tmp);
360-
tmp &= ~0x04;
361-
mxl111sf_write_reg(state, 0x12, tmp);
362-
363361
return ret;
364362
}
365363

0 commit comments

Comments
 (0)