1. 30 3月, 2009 5 次提交
  2. 29 1月, 2009 5 次提交
  3. 08 1月, 2009 1 次提交
    • M
      V4L/DVB (10180): drivers/media: Fix a number of sparse warnings · ffbc5f88
      Mauro Carvalho Chehab 提交于
      anysee.c:44:5: warning: symbol 'dvb_usb_anysee_delsys' was not declared. Should it be static?
      cx24116.c:378:3: warning: symbol 'CX24116_MODFEC_MODES' was not declared. Should it be static?
      stb0899_algo.c:57:5: warning: symbol 'stb0899_get_srate' was not declared. Should it be static?
      stb0899_algo.c:766:6: warning: symbol 'Log2Int' was not declared. Should it be static?
      stb0899_drv.c:137:20: warning: symbol 'stb0899_quant_tab' was not declared. Should it be static?
      stb0899_drv.c:180:20: warning: symbol 'stb0899_est_tab' was not declared. Should it be static?
      stb0899_drv.c:220:5: warning: symbol '_stb0899_read_reg' was not declared. Should it be static?
      budget-ci.c:1348:23: warning: symbol 'tt3200_stb6100_config' was not declared. Should it be static?
      /home/v4l/master/v4l/cx25840-core.c:190:6: warning: symbol 'cx25840_work_handler' was not declared. Should it be static?
      /home/v4l/master/v4l/m5602_s5k83a.c:116:6: warning: symbol 's5k83a_dump_registers' was not declared. Should it be static?
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ffbc5f88
  4. 03 1月, 2009 1 次提交
  5. 30 12月, 2008 12 次提交
  6. 17 12月, 2008 2 次提交
    • M
      V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204 · 8b21c1e9
      Mauro Carvalho Chehab 提交于
      When the tuner modules were moved to common/tuners, a separate customize
      option were added for tuners. However, the automatic selection of the
      tuners were still using the older option.
      
      This causes that the automatic selection to fail, if DVB_FE_CUSTOMISE is
      selected. Also, since those tuners are now under MEDIA_TUNER_CUSTOMIZE
      menu, if you unset MEDIA_TUNER_CUSTOMIZE, you can't manually select the
      tuners.
      
      This patch fixes this error by replacing DVB_FE_CUSTOMISE by
      MEDIA_TUNER_CUSTOMIZE on all places were a tuner is selected.
      
      The patch were generated by this small script:
      
      for i in `find drivers/media -name Kconfig`; do
        cat $i|perl -ne 's/(MEDIA_TUNER.*)DVB_FE_CUSTOMISE/\1MEDIA_TUNER_CUSTOMIZE/; print $_' >a
        mv a $i
      done
      
      Also, manually reordered the tuner entries.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8b21c1e9
    • D
      V4L/DVB (9780): dib0700: Stop repeating after user stops pushing button · 4b330bee
      Devin Heitmueller 提交于
      A user noticed that there would continue to be 4-6 keypresses even after the
      user stopped holding down the button.  This was because we were not reading
      the bulk pipe faster than the firmware was injecting information, which would
      result in a backlog.
      
      Make the query interval faster, and increase the number of cycles before we
      start repeating to compensate.
      
      Thanks to Knud Poulsen <knud.poulsen@nokia.com> for pointing this out.
      Signed-off-by: NDevin Heitmueller <devin.heitmueller@gmail.com>
      Signed-off-by: NPatrick Boettcher <pb@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      4b330bee
  7. 21 11月, 2008 1 次提交
  8. 17 11月, 2008 2 次提交
  9. 11 11月, 2008 5 次提交
    • A
      V4L/DVB (9527): af9015: fix compile warnings · 349d042f
      Antti Palosaari 提交于
      - use static to avoid compile warnings
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      349d042f
    • A
      V4L/DVB (9494): anysee: initialize anysee_usb_mutex statically · dec0c46a
      Akinobu Mita 提交于
      anysee_usb_mutex is initialized at every time the anysee device is probed.
      If the second anysee device is probed while anysee_usb_mutex is locked by
      the first anysee device, the mutex is broken.
      
      This patch fixes by initialize anysee_usb_mutex statically rather
      than initialize at probe time.
      Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      dec0c46a
    • D
      V4L/DVB (9492): unplug oops from dvb_frontend_init... · 8268c8f5
      Daniel J Blueman 提交于
      When inadvertently hot-unplugging a WT-220U USB DVB-T receiver with
      2.6.24, I was met with an oops [1]. The problem is relevant to
      2.6.25/26-rc also.
      
      dvb_frontend_init() was called either from re-creation of the kdvb-fe0
      thread - seems unlikely, or someone called
      dvb_frontend_reinitialise(), causing this path in the thread - really
      unlikely, as I can't find any call-site for it.
      
      Either way, quite a number of drivers call dvb_usb_generic_rw() [2]
      without checking the validity of the relevant member in the
      dvb_usb_device struct - which had changed. Having dvb_usb_generic_rw()
      sanity-check and fail (rather than loading from 0x120) seems
      reasonable defensive programming [3], in light of it being called in
      this way.
      
      The problem with this, is that drivers don't check the return code of
      the init call [4]. Does it make sense to cook a patch which allows the
      failure to be propagated back up, or am I missing something else?
      
      Thanks,
        Daniel
      
      <whoops, hot unplug>
      
      [83711.538485] dvb-usb: bulk message failed: -71 (1/0)
      [83711.538875] dvb-usb: bulk message failed: -71 (1/0)
      [83711.538899] usb 7-5: USB disconnect, address 3
      [83711.538905] dvb-usb: bulk message failed: -22 (1/0)
      [83711.538924] dvb-usb: bulk message failed: -22 (1/0)
      [83711.538943] dvb-usb: bulk message failed: -22 (1/0)
      [83711.588979] dvb-usb: bulk message failed: -22 (1/0)
      [83711.589031] dvb-usb: bulk message failed: -22 (1/0)
      [83711.589078] dvb-usb: bulk message failed: -22 (1/0)
      [83711.589122] dvb-usb: bulk message failed: -22 (1/0)
      [83711.589167] dvb-usb: bulk message failed: -22 (1/0)
      [83711.639233] dvb-usb: bulk message failed: -22 (1/0)
      [83711.639282] dvb-usb: bulk message failed: -22 (1/0)
      [83711.639330] dvb-usb: bulk message failed: -22 (1/0)
      [83711.639374] dvb-usb: bulk message failed: -22 (1/0)
      [83711.639421] dvb-usb: bulk message failed: -22 (1/0)
      [83711.658391] dvb-usb: bulk message failed: -22 (1/0)
      [83768.174281] dvb-usb: bulk message failed: -22 (2/-32512)
      [83768.174350] Unable to handle kernel NULL pointer
      dereference<6>dvb-usb: WideView WT-220U PenType Receiver
      (Typhoon/Freecom) successfully deinitialized and disconnected.
      [83768.174459]  at 0000000000000120 RIP:
      [83768.174459]  [<ffffffff88339b4f>] :dvb_usb:dvb_usb_generic_rw+0x2f/0x1a0
      [83768.174580] PGD 0
      [83768.174643] Oops: 0000 [1] SMP
      [83768.174723] CPU 0
      [83768.174782] Modules linked in: nfsd auth_rpcgss exportfs nfs lockd
      nfs_acl sunrpc af_packet xt_length ipt_tos ipt_TOS xt_CLASSIFY sch_sfq
      sch_htb ipt_MASQUERADE ipt_REDIRECT xt_limit xt_state xt_tcpudp
      iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle
      iptable_filter ip_tables x_tables xfs sbp2 parport_pc lp parport loop
      ftdi_sio usbserial evdev dvb_usb_dtt200u dvb_usb dvb_core i2c_core
      sky2 iTCO_wdt iTCO_vendor_support snd_hda_intel shpchp snd_pcm
      snd_timer snd_page_alloc snd_hwdep snd pci_hotplug soundcore ipv6
      button intel_agp ext3 jbd mbcache sg sd_mod ata_generic pata_acpi ahci
      ata_piix libata scsi_mod ohci1394 ieee1394 ehci_hcd uhci_hcd usbcore
      e1000 thermal processor fan fbcon tileblit font bitblit softcursor
      fuse
      [83768.176968] Pid: 5732, comm: kdvb-fe-0 Not tainted 2.6.24-16-server #1
      [83768.177009] RIP: 0010:[<ffffffff88339b4f>]  [<ffffffff88339b4f>]
      :dvb_usb:dvb_usb_generic_rw+0x2f/0x1a0
      [83768.177096] RSP: 0018:ffff810021939df0  EFLAGS: 00010286
      [83768.177138] RAX: ffff81003bc7cc00 RBX: 0000000000000001 RCX: 0000000000000000
      [83768.177181] RDX: 0000000000000001 RSI: ffff810021939e67 RDI: 0000000000000000
      [83768.177223] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
      [83768.177267] R10: ffff810001009880 R11: 0000000000000001 R12: ffff81003c10b400
      [83768.177311] R13: ffff81003c10b5b0 R14: ffff810021939ec0 R15: 0000000000000000
      [83768.177354] FS:  0000000000000000(0000) GS:ffffffff805c3000(0000)
      knlGS:0000000000000000
      [83768.177409] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
      [83768.177449] CR2: 0000000000000120 CR3: 0000000000201000 CR4: 00000000000006e0
      [83768.177491] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      [83768.177534] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      [83768.177576] Process kdvb-fe-0 (pid: 5732, threadinfo
      ffff810021938000, task ffff81003bd1b7a0)
      [83768.177629] Stack:  ffff81003e9b6828 0000000000000000
      ffff8100378369f8 0000000000000000
      [83768.177800]  ffff81003bd1b7a0 ffff810037836d48 ffff81003bc7cc30
      ffff81003c10b400
      [83768.177943]  ffff81003c10b5b0 ffff810021939ec0 ffff81003c10b5e0
      ffffffff88342452
      [83768.178054] Call Trace:
      [83768.178130]  [<ffffffff88342452>] :dvb_usb_dtt200u:dtt200u_fe_init+0x22/0x30
      [83768.178178]  [<ffffffff88339f6a>] :dvb_usb:dvb_usb_fe_wakeup+0x3a/0x50
      [83768.178229]  [<ffffffff88325c41>] :dvb_core:dvb_frontend_init+0x21/0x70
      [83768.178278]  [<ffffffff8832746b>] :dvb_core:dvb_frontend_thread+0x8b/0x370
      [83768.178329]  [<ffffffff883273e0>] :dvb_core:dvb_frontend_thread+0x0/0x370
      [83768.178382]  [<ffffffff80253e3b>] kthread+0x4b/0x80
      [83768.178427]  [<ffffffff8020d198>] child_rip+0xa/0x12
      [83768.178473]  [<ffffffff80253df0>] kthread+0x0/0x80
      [83768.178514]  [<ffffffff8020d18e>] child_rip+0x0/0x12
      [83768.178557]
      [83768.178594]
      [83768.178594] Code: 44 8b 87 20 01 00 00 49 89 f4 45 89 ce 45 85 c0
      0f 84 ad 00
      [83768.179167] RIP  [<ffffffff88339b4f>] :dvb_usb:dvb_usb_generic_rw+0x2f/0x1a0
      [83768.179234]  RSP <ffff810021939df0>
      [83768.179271] CR2: 0000000000000120
      [83768.179419] ---[ end trace dba8483163cb1700 ]---
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8268c8f5
    • T
      V4L/DVB (9358): CinergyT2: fix Kconfig typo · bdb6ee32
      Thierry MERLE 提交于
      config\tDVB_USB_CINERGY_T2 causes the make_kconfig.pl to forget to enable by default the compilation of cinergyT2 module.
      Signed-off-by: NThierry MERLE <thierry.merle@free.fr>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      bdb6ee32
    • A
      V4L/DVB (9348): dtv5100: add dependency on zl10353 · e62b4756
      Antoine Jacquet 提交于
      Update Kconfig to add missing dependency on zl10353 for dtv5100 driver.
      Signed-off-by: NAntoine Jacquet <royale@zerezo.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e62b4756
  10. 28 10月, 2008 1 次提交
  11. 18 10月, 2008 1 次提交
  12. 13 10月, 2008 4 次提交