Commit 3be5bb71 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

[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: default avatarMichael Krufky <mkrufky@linuxtv.org>
Cc: stable@kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3553085c
...@@ -351,15 +351,13 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) ...@@ -351,15 +351,13 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
adap_state->ep6_clockphase, adap_state->ep6_clockphase,
0, 0); 0, 0);
mxl_fail(ret); mxl_fail(ret);
#if 0
} else { } else {
ret = mxl111sf_disable_656_port(state); ret = mxl111sf_disable_656_port(state);
mxl_fail(ret); mxl_fail(ret);
#endif
} }
mxl111sf_read_reg(state, 0x12, &tmp);
tmp &= ~0x04;
mxl111sf_write_reg(state, 0x12, tmp);
return ret; return ret;
} }
......
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