Skip to content

Commit

Permalink
[media] mxl111sf: fix error on stream stop in mxl111sf_ep6_streaming_…
Browse files Browse the repository at this point in the history
…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 <mkrufky@linuxtv.org>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
mkrufky authored and Mauro Carvalho Chehab committed Mar 20, 2012
1 parent 3553085 commit 3be5bb7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/media/dvb/dvb-usb/mxl111sf.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,15 +351,13 @@ static int mxl111sf_ep6_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
adap_state->ep6_clockphase,
0, 0);
mxl_fail(ret);
#if 0
} else {
ret = mxl111sf_disable_656_port(state);
mxl_fail(ret);
#endif
}

mxl111sf_read_reg(state, 0x12, &tmp);
tmp &= ~0x04;
mxl111sf_write_reg(state, 0x12, tmp);

return ret;
}

Expand Down

0 comments on commit 3be5bb7

Please sign in to comment.