1. 30 3月, 2009 26 次提交
    • M
      V4L/DVB (10752): sms1xxx: load smsdvb module automatically based on device id · 05860f2d
      Michael Krufky 提交于
      The smsdvb module was separated from the core and usb code. This change loads
      smsdvb automatically for driver configurations that depend on it.
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      05860f2d
    • M
      V4L/DVB (10751): sms1xxx: fix checkpatch.pl violations introduced by previous changeset · b9391f41
      Michael Krufky 提交于
      Fix checkpatch.pl violations introduced by previous changeset:
      
      ERROR: do not use C99 // comments
      156: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1373:
      +//#ifdef DVB_CORE
      
      ERROR: do not use C99 // comments
      157: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1374:
      +//	smsdvb_unregister();
      
      ERROR: do not use C99 // comments
      158: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1375:
      +//#endif
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      163: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1380:
      +EXPORT_SYMBOL(smscore_onresponse);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      164: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1381:
      +EXPORT_SYMBOL(sms_get_board);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      165: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1382:
      +EXPORT_SYMBOL(sms_debug);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      166: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1383:
      +EXPORT_SYMBOL(smscore_putbuffer);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      167: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1384:
      +EXPORT_SYMBOL(smscore_registry_getmode);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      168: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1385:
      +EXPORT_SYMBOL(smscore_register_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      169: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1386:
      +EXPORT_SYMBOL(smscore_set_board_id);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      170: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1387:
      +EXPORT_SYMBOL(smscore_start_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      171: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1388:
      +EXPORT_SYMBOL(smsusb_id_table);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      172: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1389:
      +EXPORT_SYMBOL(smscore_unregister_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      173: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1390:
      +EXPORT_SYMBOL(smscore_getbuffer);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      174: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1391:
      +EXPORT_SYMBOL(smscore_get_device_mode);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      175: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1392:
      +EXPORT_SYMBOL(smscore_register_client);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      176: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1393:
      +EXPORT_SYMBOL(smscore_unregister_hotplug);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      177: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1394:
      +EXPORT_SYMBOL(smsclient_sendrequest);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      178: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1395:
      +EXPORT_SYMBOL(smscore_unregister_client);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      179: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1396:
      +EXPORT_SYMBOL(smscore_get_board_id);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      180: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1397:
      +EXPORT_SYMBOL(smscore_register_hotplug);
      
      WARNING: line over 80 characters
      391: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:398:
      +extern int smscore_get_fw_filename(struct smscore_device_t *coredev, int mode, char* filename);
      
      ERROR: "foo* bar" should be "foo *bar"
      391: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:398:
      +extern int smscore_get_fw_filename(struct smscore_device_t *coredev, int mode, char* filename);
      
      WARNING: line over 80 characters
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
      
      ERROR: "foo* bar" should be "foo *bar"
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
      
      ERROR: space required after that ',' (ctx:VxV)
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
                                                                                   ^
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      489: FILE: linux/drivers/media/dvb/siano/smsusb.c:443:
      +	printk(KERN_INFO"%s  Entering status %d.\n", __FUNCTION__, msg.event);
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      501: FILE: linux/drivers/media/dvb/siano/smsusb.c:455:
      +	printk(KERN_INFO  "%s  Entering.\n", __FUNCTION__);
      
      ERROR: space prohibited before that '++' (ctx:WxB)
      505: FILE: linux/drivers/media/dvb/siano/smsusb.c:459:
      +	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i ++)
       	                                                            ^
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      517: FILE: linux/drivers/media/dvb/siano/smsusb.c:471:
      +			__FUNCTION__, rc);
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      [mchehab@redhat.com: sms_dbg were declared on 3 different files]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b9391f41
    • U
      V4L/DVB (10750): import changes from Siano · e0f14c25
      Uri Shkolnik 提交于
      Import the following changes from Uri Shkolnik
      
      * Two-ways merge with Siano internal repository
      * Continuing with DVB sub-system separation
      * kconfig and makefile updates
      * Code cleanup
      
      This is a work-in-progress sync with Siano's internal repository.
      
      Some changes had to be altered or dropped in order not to break the build.
      
      This breaks normal operation for the current driver, but it is being committed
      now for tracking purposes.
      
      These changes introduce the following checkpatch.pl violations:
      
      ERROR: do not use C99 // comments
      156: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1373:
      +//#ifdef DVB_CORE
      
      ERROR: do not use C99 // comments
      157: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1374:
      +//	smsdvb_unregister();
      
      ERROR: do not use C99 // comments
      158: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1375:
      +//#endif
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      163: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1380:
      +EXPORT_SYMBOL(smscore_onresponse);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      164: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1381:
      +EXPORT_SYMBOL(sms_get_board);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      165: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1382:
      +EXPORT_SYMBOL(sms_debug);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      166: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1383:
      +EXPORT_SYMBOL(smscore_putbuffer);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      167: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1384:
      +EXPORT_SYMBOL(smscore_registry_getmode);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      168: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1385:
      +EXPORT_SYMBOL(smscore_register_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      169: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1386:
      +EXPORT_SYMBOL(smscore_set_board_id);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      170: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1387:
      +EXPORT_SYMBOL(smscore_start_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      171: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1388:
      +EXPORT_SYMBOL(smsusb_id_table);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      172: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1389:
      +EXPORT_SYMBOL(smscore_unregister_device);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      173: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1390:
      +EXPORT_SYMBOL(smscore_getbuffer);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      174: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1391:
      +EXPORT_SYMBOL(smscore_get_device_mode);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      175: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1392:
      +EXPORT_SYMBOL(smscore_register_client);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      176: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1393:
      +EXPORT_SYMBOL(smscore_unregister_hotplug);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      177: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1394:
      +EXPORT_SYMBOL(smsclient_sendrequest);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      178: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1395:
      +EXPORT_SYMBOL(smscore_unregister_client);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      179: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1396:
      +EXPORT_SYMBOL(smscore_get_board_id);
      
      WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
      180: FILE: linux/drivers/media/dvb/siano/smscoreapi.c:1397:
      +EXPORT_SYMBOL(smscore_register_hotplug);
      
      WARNING: line over 80 characters
      391: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:398:
      +extern int smscore_get_fw_filename(struct smscore_device_t *coredev, int mode, char* filename);
      
      ERROR: "foo* bar" should be "foo *bar"
      391: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:398:
      +extern int smscore_get_fw_filename(struct smscore_device_t *coredev, int mode, char* filename);
      
      WARNING: line over 80 characters
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
      
      ERROR: "foo* bar" should be "foo *bar"
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
      
      ERROR: space required after that ',' (ctx:VxV)
      392: FILE: linux/drivers/media/dvb/siano/smscoreapi.h:399:
      +extern int smscore_send_fw_file(struct smscore_device_t *coredev, u8* ufwbuf,int size);
                                                                                   ^
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      489: FILE: linux/drivers/media/dvb/siano/smsusb.c:443:
      +	printk(KERN_INFO"%s  Entering status %d.\n", __FUNCTION__, msg.event);
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      501: FILE: linux/drivers/media/dvb/siano/smsusb.c:455:
      +	printk(KERN_INFO  "%s  Entering.\n", __FUNCTION__);
      
      ERROR: space prohibited before that '++' (ctx:WxB)
      505: FILE: linux/drivers/media/dvb/siano/smsusb.c:459:
      +	for (i = 0; i < intf->cur_altsetting->desc.bNumEndpoints; i ++)
       	                                                            ^
      
      WARNING: __func__ should be used instead of gcc specific __FUNCTION__
      517: FILE: linux/drivers/media/dvb/siano/smsusb.c:471:
      +			__FUNCTION__, rc);
      
      total: 7 errors, 23 warnings, 524 lines checked
      Signed-off-by: NUri Shkolnik <uris@siano-ms.com>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e0f14c25
    • M
      V4L/DVB (10749): sms1xxx: move smsusb_id_table into smsusb.c · 841a3f0d
      Michael Krufky 提交于
      Move the usb_device_id table to the smsusb module in preparation for the
      sms1xxx module to be split into sub-modules. This will allow the smsusb
      driver to start up automatically upon insertion of the USB device.
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      841a3f0d
    • U
      V4L/DVB (10748): sms1xxx: restore smsusb_driver.name to smsusb · dba843af
      Uri Shkolnik 提交于
      The sms1xxx driver will be broken down into smaller modules,
      so the original name, smsusb, is more appropriate.
      Signed-off-by: NUri Shkolnik <uris@siano-ms.com>
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      dba843af
    • M
      V4L/DVB (10747): sms1xxx: move definition of struct smsdvb_client_t into smsdvb.c · 62c7167d
      Michael Krufky 提交于
      Nobody uses struct smsdvb_client_t other than smsdvb.c --
      this does not need to be inside smscoreapi.h
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      62c7167d
    • M
    • I
      V4L/DVB (10744): dm1105: infrared remote code is remaked. · b72857dd
      Igor M. Liplianin 提交于
      The driver infrared remote code part is altered to switch to a work queue.
      Also ir_codes table moved to ir-common module for shared access.
      Signed-off-by: NIgor M. Liplianin <liplianin@netup.ru>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b72857dd
    • I
      V4L/DVB (10743): dm1105: not demuxing from interrupt context. · d1498ffc
      Igor M. Liplianin 提交于
      The driver already has DMA buffer organized like ringbuffer,
      so it is easy to switch to a work queue.
      Length of ringbuffer can easily be increased, if someone need it.
      Signed-off-by: NIgor M. Liplianin <liplianin@netup.ru>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d1498ffc
    • M
      V4L/DVB (10662): remove redundant memset after kzalloc · 8420fa7e
      Matthias Schwarzott 提交于
      Hi there!
      
      While having a look at the allocation of struct dvb_frontend in *_attach
      functions, I found some cases calling memset after kzalloc. This is
      redundant, and the attached patch removes these calls.
      I also changed one case calling kmalloc and memset to kzalloc.
      
      Regards
      Matthias
      Signed-off-by: NMatthias Schwarzott <zzam@gentoo.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8420fa7e
    • M
      V4L/DVB (10512): tda1004x: Fix eeprom firmware load on boards with 16MHz Xtal · 517efa89
      Mauro Carvalho Chehab 提交于
      For i2c normal work, we need to slow down the bus speed. However, the
      slow down breaks the eeprom firmware load. So, use normal speed for
      eeprom booting and then restore the i2c speed after that.
      
      It should also be noticed that no other I2C transfer should be in course
      while booting from eeprom, otherwise, tda10046 goes into an instable
      state. So, proper locking are needed at the i2c bus master.
      
      Tested with saa7134 MSI TV @nyware A/D board, that comes with an eeprom
      with firmware version 29.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      517efa89
    • J
      V4L/DVB (10453): af9015: add MC44S803 support · d5633998
      Jochen Friedrich 提交于
      Add MC44S803 support to AF9015 driver.
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d5633998
    • M
    • M
      V4L/DVB (10415): dib0700: add data debug to dib0700_i2c_xfer_new · d2514991
      Michael Krufky 提交于
      Data debug for i2c transactions was provided by the functions
      called by dib0700_i2c_xfer_legacy, but not dib0700_i2c_xfer_new.
      
      This patch adds the missing data debug dumps to dib0700_i2c_xfer_new.
      Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d2514991
    • I
      V4L/DVB (10413): Bug fix: Restore HVR-4000 tuning. · 8afe6ad6
      Igor M. Liplianin 提交于
      Some cards uses cx24116 LNB_DC pin for LNB power control,
      some not uses, some uses it different way, like HVR-4000.
      
      Tested-by : Edgar Hucek <gimli@dark-green.com>
      Signed-off-by: NIgor M. Liplianin <liplianin@me.by>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8afe6ad6
    • H
      V4L/DVB (10392): lnbp21: documentation about the system register · 9a909447
      Hans Werner 提交于
      Here is a patch which adds some documentation about meanings of the
      the lnbp21 system register bits.
      Signed-off-by: NHans Werner <hwerner4@gmx.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9a909447
    • J
      V4L/DVB (10391): dvb: constify VFTs · 784e29d2
      Jan Engelhardt 提交于
      dvb: constify VFTs
      Signed-off-by: NJan Engelhardt <jengelh@medozas.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      784e29d2
    • J
      V4L/DVB (10330): af9015: New remote RM-KS for Avermedia Volar-X · 90b0f69b
      Jose Alberto Reguero 提交于
      The new Avermedia Volar-X is shipped with a new remote(RM-KS). The attached
      patch add a new option to the remote parameter of dvb_usb_af9015 for this
      remote.
      Signed-off-by: NFelipe Morales Moreno <felipe.morales.moreno@gmail.com>
      Signed-off-by: NJose Alberto Reguero <jareguero@telefonica.net>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      90b0f69b
    • A
      V4L/DVB (10329): af9015: remove dual_mode module param · 66bc8e7f
      Antti Palosaari 提交于
      Remove dual_mode module	param. Possible 2nd FE seems not to be buggy
      any more and therefore can be enabled as default.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      66bc8e7f
    • D
      V4L/DVB (10321): dib0700: Report dib0700_i2c_enumeration failures · 83c4fdf7
      Devin Heitmueller 提交于
      Make it clear that a failure in dib0700_i2c_enumeration is a fatal condition
      and we cannot continue.  If the failure occurs, do not attempt to attach to
      the tuner.
      
      Problem Noticed the issue when debugging an i2c issue a YUAN High-Tech
      STK7700PH for user Roshan Karki <roshan@olenepal.org>.
      Signed-off-by: NDevin Heitmueller <dheitmueller@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      83c4fdf7
    • D
      V4L/DVB (10320): dib0700: fix i2c error message to make data type clear · 8db12cdf
      Devin Heitmueller 提交于
      Make it clear that the address is in hex format.
      Signed-off-by: NDevin Heitmueller <dheitmueller@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8db12cdf
    • A
      V4L/DVB (10319): dib0700: enable IR receiver in Nova TD usb stick (52009) · c985a8dc
      Arne Luehrs 提交于
      Adds the IR data structure to the configuration datastructure of the
      Hauppauge WinTV Nova-TD USB stick (52009)
      
      Provided remote control is the same as theone provided with the Nova-T500
      Card.
      Signed-off-by: NArne Luehrs <arne.luehrs@googlemail.com>
      Signed-off-by: NDevin Heitmueller <dheitmueller@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c985a8dc
    • A
      V4L/DVB (10286): af9015: add new USB ID for KWorld DVB-T 395U · 71bf2e08
      Antti Palosaari 提交于
      Add new USB ID 1b80:e39b for KWorld DVB-T 395U. This device revision does
      have Quantek QT1010 silicon tuner.
      
      Thanks-to: Ray Chen <swyear@gmail.com>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      71bf2e08
    • H
    • H
      V4L/DVB (10271): saa7146: convert to video_ioctl2. · b960074f
      Hans Verkuil 提交于
      The conversion to video_ioctl2 is the first phase to converting this driver
      to the latest v4l2 framework.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b960074f
    • I
      V4L/DVB (10268): Proper implement set_voltage in cx24116. · c7bdcd0f
      Igor M. Liplianin 提交于
      Now there is a card, which uses cx24116 to control LNB DC voltage.
      It is DVBWorld DVBS2 PCI-e 2005.
      The patch is nedded to add support for that card.
      1. Rename CMD_SET_TONEPRE to CMD_LNBDCLEVEL.
      2. Fill set_voltage with actually control voltage code.
      3. Correct set_tone to not affect voltage.
      Signed-off-by: NIgor M. Liplianin <liplianin@me.by>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      c7bdcd0f
  2. 28 3月, 2009 1 次提交
  3. 25 3月, 2009 1 次提交
  4. 14 3月, 2009 5 次提交
  5. 13 3月, 2009 1 次提交
  6. 27 2月, 2009 1 次提交
  7. 25 2月, 2009 1 次提交
  8. 24 2月, 2009 4 次提交
    • S
      firedtv: massive refactoring · 15490795
      Stefan Richter 提交于
      Combination of the following changes:
      
      Mon, 23 Feb 2009 14:21:10 +0100 (CET)
      firedtv: reinstate debug logging option
      
          Henrik Kurelid tells me that FCP debug logging (which I removed during
          cleanups) is still useful when working on driver issues together with
          end users.  So bring it back in an updated form with only 60% of the
          original code footprint.
      
          Logging can be enabled with
          # echo -1 > /sys/module/firedtv/parameters/debug
      
          1 instead of -1 enables only FCP header logging,
          2 instead of -1 enables only hexdumps of the entire FCP frames.
          0 switches logging off again.
      
      Fri, 20 Feb 2009 20:54:27 +0100 (CET)
      firedtv: build fix for INPUT=m and DVB_FIREDTV=y
      
      Thu, 19 Feb 2009 20:40:39 +0100
      firedtv: use msecs_to_jiffies
      
          Pointed out by Mauro Carvalho Chehab.
      
      Sun Feb 15 20:50:46 CET 2009
      firedtv: some more housekeeping
      
          Fix an old checkpatch warning and a new compiler warning.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: rename a file once more
      
          At the moment, about a third of avc.c is specific to FireDTVs rather
          than generic AV/C code.  Rename it to firedtv-avc.c.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: dvb demux: more compact channels backing store
      
          Replace struct firedtv_channel { bool active; int pid; } channel[16];
          by unsigned long channel_active; u16 channel_pid[16];.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: dvb demux: some simplifications
      
          c->active was unnecessarily cleared twice.
      
          Also, by marking the channel inactive before the for loop,
          the loop becomes identical with fdtv_channel_collect().
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: dvb demux: remove a bogus loop
      
          This loop is unnecessary because
            - only active channel[].pid's will be sent to the device,
            - when a channel is activated, its pid is set to dvbdmxfeed->pid.
      
          Perhaps the original code was there because it was initially not fully
          covered by the fdtv->demux_mutex.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: dvb demux: fix mutex protection
      
          fdtv_start_feed() accessed the channel list unsafely.
          Fully serialize it with itself and fdtv_stop_feed().
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: dvb demux: fix missing braces
      
          Original code was:
                  ...
                  case DMX_TS_PES_OTHER:
                          //Dirty fix to keep firesat->channel pid-list up to date
                          for(k=0;k<16;k++){
                                  if(firesat->channel[k].active == 0)
                                          firesat->channel[k].pid =
                                                  dvbdmxfeed->pid;
                                          break;
                          }
                          channel = firesat_channel_allocate(firesat);
                          break;
                  default:
                  ...
      
          Looks bogus in several respects. For now let's just add braces to the if
          because that seems to be what the author meant.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: allow build without input subsystem
      
          !CONFIG_INPUT is very unlikely on systems on which firedtv is of
          interest.  But we can easily support it.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: replace EXTRA_CFLAGS by ccflags
      
          The former are deprecated.
          The latter can depend on Kconfig variables.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: concentrate ieee1394 dependencies
      
          Move the entire interface with drivers/ieee1394 to firedtv-1394.c.
          Move 1394-independent module initialization code to firedtv-dvb.c.
      
          This prepares interfacing with drivers/firewire.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: amend Kconfig menu prompt
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: remove kernel version compatibility macro
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: combine header files
      
          avc.h and firedtv-*.h are small and currently not shared with other
          drivers, hence concatenate them all into firedtv.h.
      
      Sun Feb 15 15:33:17 CET 2009
      firedtv: misc style touch-ups
      
          Standardize on lower-case hexadecimal constants.  Adjust whitespace.
          Omit unnecessary pointer type casts and an unnecessary list head
          initialization.  Use dev_printk.
      
      Wed Feb 11 21:21:04 CET 2009
      firedtv: avc, ci: remove unused constants
      
      Wed Feb 11 21:21:04 CET 2009
      firedtv: avc: remove bitfields from read descriptor response operands
      
          Don't use bitfields in struct types of on-the-wire data.
      
      Wed Feb 11 21:21:04 CET 2009
      firedtv: avc: remove bitfields from DSD command operands
      
          Don't use bitfields in struct types of on-the-wire data.
      
      Wed Feb 11 21:21:04 CET 2009
      firedtv: avc: header file cleanup
      
          Remove unused constants and declarations.
          Move privately used constants into .c files.
      
      Wed Feb 11 21:21:04 CET 2009
      firedtv: avc: remove bitfields from FCP frame types
      
          Don't use bitfields in struct types of on-the-wire data.
      
          Also move many privately used constants from avc.h to avc.c
          and remove some unused constants.
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: avc: fix offset in avc_tuner_get_ts
      
          The parentheses were wrong.  It didn't matter though because this code
          only writes a 0 into an area which is already initialized to 0.
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: avc: reduce stack usage, remove two typedefs
      
          It is safe to share a memory buffer for command frame and response frame
          because the response data come in after the command frame was last used.
      
          Even less stack would be required if only the actual required frame size
          instead of the entire FCP register size was allocated.
      
          Also, rename the defined types AVCCmdFrm and AVCRspFrm to
          struct avc_command_frame and struct avc_response_frame.
          TODO:  Remove the bitfields in these types.
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: cmp: move code to avc
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: iso: move code to firedtv-1394
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: iso: remove unnecessary struct type definitions
      
      Sun, 18 Jan 2009 16:30:00 +0100 (CET)
      firedtv: iso: style changes and fixlets
      
          Add cleanup after failure in setup_iso_channel.
          Replace printk() by dv_err().
          Decrease indentation level in rawiso_activity_cb().
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      15490795
    • R
      firedtv: rename files, variables, functions from firesat to firedtv · a70f81c1
      Rambaldi 提交于
      Combination of the following changes:
      
      Sat, 17 Jan 2009 14:47:34 +0100
      firedtv: rename variables and functions from firesat to firedtv
      Signed-off-by: NRambaldi <Rambaldi@xs4all.nl>
      
          Additional changes by Stefan Richter:
      
          Renamed struct firedtv *firedtv to struct firedtv *fdtv and
          firedtv_foo_bar() to fdtv_foo_bar() for brevity.
      
      Sat, 17 Jan 2009 13:07:44 +0100
      firedtv: rename files from firesat to firedtv
      Signed-off-by: NRambaldi <Rambaldi@xs4all.nl>
      
          Additional changes by Stefan Richter:
      
          Name the directory "firewire" instead of "firedtv".
          Standardize on "-" instead of "_" in file names, because that's what
          drivers/firewire/ and drivers/media/dvb/dvb-usb/ use too.
          Build fix.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      a70f81c1
    • J
      firedtv: Use DEFINE_SPINLOCK · 291f006e
      Julia Lawall 提交于
      SPIN_LOCK_UNLOCKED is deprecated.  The following makes the change suggested
      in Documentation/spinlocks.txt
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      291f006e
    • H
      firedtv: fix registration - adapter number could only be zero · a40bf559
      Henrik Kurelid 提交于
      There was a bug causing the initialization to fail if adapter number was
      greater than zero. The adapter was however registered which caused the driver
      to oops the second time initialization was tried.
      Signed-off-by: NHenrik Kurelid <henrik@kurelid.se>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      a40bf559