1. 24 9月, 2011 4 次提交
  2. 22 9月, 2011 4 次提交
  3. 21 9月, 2011 19 次提交
  4. 11 9月, 2011 1 次提交
    • F
      [media] vp7045: fix buffer setup · fc61ccd3
      Florian Mickler 提交于
      dvb_usb_device_init calls the frontend_attach method of this driver which
      uses vp7045_usb_ob. In order to have a buffer ready in vp7045_usb_op, it has to
      be allocated before that happens.
      
      Luckily we can use the whole private data as the buffer as it gets separately
      allocated on the heap via kzalloc in dvb_usb_device_init and is thus apt for
      use via usb_control_msg.
      
      This fixes a
      	BUG: unable to handle kernel paging request at 0000000000001e78
      
      reported by Tino Keitel and diagnosed by Dan Carpenter.
      
      Cc: stable@kernel.org # For v3.0 and upper
      Tested-by: NTino Keitel <tino.keitel@tikei.de>
      Signed-off-by: NFlorian Mickler <florian@mickler.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      fc61ccd3
  5. 10 9月, 2011 2 次提交
    • M
      [media] dvb-usb: improve sanity check of adap->active_fe in dvb_usb_ctrl_feed · 2d04c13a
      Michael Krufky 提交于
      The check for (adap->active_fe < 0) at the top of dvb_usb_ctrl_feed is a sanity
      check to ensure that adap->active_fe is valid.  Improve that sanity check
      by also checking for (adap->active_fe >= adap->num_frontends_initialized)
      Signed-off-by: NMichael Krufky <mkrufky@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2d04c13a
    • M
      [media] dvb-usb: fix streaming failure on channel change · 4b5d01e9
      Michael Krufky 提交于
      This fixes a bug introduced by a previous changeset entitled,
      [media] dvb-usb: refactor MFE code for individual streaming config per frontend
      
      As reported by Antti Palosaari, This error is shown by VLC when channel changed:
      
      [0x7f1bbc000cd0] dvb access error: DMXSetFilter: failed with -1 (Invalid argument)
      [0x7f1bbc000cd0] dvb access error: DMXSetFilter failed
      [0x7f1bbc32f910] main stream error: cannot pre fill buffer
      
      After my own investigations, I've determined that this error case occurs when
      the application stops streaming but leaves the frontend and dvr devices open.
      A typical example of this usage would be a channel change operation while
      watching live television. The error occurs when the application attempts to
      stream after tuning to the new channel.
      
      To prevent this error, don't set adap->active_fe to -1 unless the application
      closes the device.
      
      Cc: Antti Palosaari <crope@iki.fi>
      Signed-off-by: NMichael Krufky <mkrufky@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      4b5d01e9
  6. 07 9月, 2011 8 次提交
  7. 04 9月, 2011 2 次提交