aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-02-08xc5000: declare firmware configuration structures as static constxc5000-olderMichael Krufky1-4/+5
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-08xc5000: drivers should specify chip revision rather than firmwareMichael Krufky3-20/+18
Specify chip revision at attach time rather than a firmware image. This is a better way to ensure that the correct firmware is loaded for the correct revision of the chip. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07xc5000: remove static dependencies on xc5000 created by previous changesetsMichael Krufky2-13/+26
convert the firmware configuration attach-time parameter from a pointer to an integer so as to remove the static dependency created by the previous changesets. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07remove unneeded #define's in xc5000.hMichael Krufky1-5/+2
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07tveeprom: add support for Xceive XC5000C tunerMichael Krufky1-1/+1
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07tuner: add support for Xceive XC5000CMichael Krufky3-0/+20
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07xc5000: add XC5000C_DEFAULT_FIRMWARE: dvb-fe-xc5000c-41.024.5-31875.fwMichael Krufky2-1/+9
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-02-07xc5000: allow drivers to set desired firmware in xc5000_attachMichael Krufky2-6/+29
newer versions of the xc5000 silicon require newer firmware while remaining 100% driver compatible. original versions of the xc5000a continue to use the same firmware. Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2012-01-23Merge branch 'v4l_for_linus' into staging/for_v3.4Mauro Carvalho Chehab4-13/+27
* v4l_for_linus: [media] cxd2820r: sleep on DVB-T/T2 delivery system switch [media] anysee: fix CI init [media] cxd2820r: remove unused parameter from cxd2820r_attach [media] cxd2820r: fix dvb_frontend_ops
2012-01-23[media] cxd2820r: sleep on DVB-T/T2 delivery system switchAntti Palosaari1-2/+11
Fix bug introduced by multi-frontend to single-frontend change. It is safer to put DVB-T parts sleeping when auto-switching to DVB-T2 and vice versa. That was original behaviour. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] anysee: fix CI initAntti Palosaari1-0/+8
No more error that error seen when device is plugged: dvb_ca adapter 0: Invalid PC card inserted :( Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] cxd2820r: remove unused parameter from cxd2820r_attachAntti Palosaari4-10/+5
Fix bug introduced by multi-frontend to single-frontend change. This parameter is no longer used after multi-frontend to single-frontend change. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] cxd2820r: fix dvb_frontend_opsAntti Palosaari1-1/+3
Fix bug introduced by multi-frontend to single-frontend change. * Add missing DVB-C caps * Change frontend name as single frontend does all the standards Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] it913x v1.23 use it913x_config.chip_ver to select firmwareMalcolm Priestley1-12/+7
As recommended by Jason at ITE, the chip version should select firmware. However, to continue to support IT9137 firmware with different configuration the driver will use udev->descriptor.idVendor to select the difference between IT9135 and IT9137. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] ivtv: setup per-device capsHans Verkuil3-2/+20
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] vivi: set device_capsHans Verkuil1-2/+3
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] V4L2: Add per-device-node capabilitiesHans Verkuil7-17/+69
If V4L2_CAP_DEVICE_CAPS is set, then the new device_caps field is filled with the capabilities of the opened device node. The capabilities field traditionally contains the capabilities of the physical device, being a superset of all capabilities available at the several device nodes. E.g., if you open /dev/video0, then if it contains VBI caps then that means that there is a corresponding vbi node as well. And the capabilities field of both the video and vbi nodes should contain identical caps. However, it would be very useful to also have a capabilities field that contains just the caps for the currently open device, hence the new CAP bit and field. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] omap_vout: fix section mismatchTomi Valkeinen1-2/+1
Fix the following warning by using platform_driver_probe() instead of platform_driver_register(): WARNING: drivers/media/video/omap/omap-vout.o(.data+0x24): Section mismatch in reference from the variable omap_vout_driver to the function .init.text:omap_vout_probe() The variable omap_vout_driver references the function __init omap_vout_probe() Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com> Tested-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-23[media] cinergyT2-fe: Fix bandwdith settingsMauro Carvalho Chehab1-3/+4
Changeset 7830bbaff9f mangled the bandwidth field for CinergyT2. Properly fill it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-22Merge tag 'v3.3-rc1' into staging/for_v3.3Mauro Carvalho Chehab9465-308080/+500023
* tag 'v3.3-rc1': (8187 commits) Linux 3.3-rc1 x86, syscall: Need __ARCH_WANT_SYS_IPC for 32 bits qnx4: don't leak ->BitMap on late failure exits qnx4: reduce the insane nesting in qnx4_checkroot() qnx4: di_fname is an array, for crying out loud... KEYS: Permit key_serial() to be called with a const key pointer keys: fix user_defined key sparse messages ima: fix cred sparse warning uml: fix compile for x86-64 MPILIB: Add a missing ENOMEM check tpm: fix (ACPI S3) suspend regression nvme: fix merge error due to change of 'make_request_fn' fn type xen: using EXPORT_SYMBOL requires including export.h gpio: tps65910: Use correct offset for gpio initialization acpi/apei/einj: Add extensions to EINJ from rev 5.0 of acpi spec intel_idle: Split up and provide per CPU initialization func ACPI processor: Remove unneeded variable passed by acpi_processor_hotadd_init V2 tg3: Fix single-vector MSI-X code openvswitch: Fix multipart datapath dumps. ipv6: fix per device IP snmp counters ...
2012-01-21[media] az6007: CodingStyle fixesMauro Carvalho Chehab1-14/+13
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Enable the driver at the building systemMauro Carvalho Chehab2-1/+11
Add the corresponding entries to allow building this driver. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Use the right keycode for Terratec H7Mauro Carvalho Chehab2-1/+53
Instead of using a fake keycode, just for testing, use the right one, for Terratec H7. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Convert IR to use the rc_core logicMauro Carvalho Chehab1-23/+7
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Fix IR handlingMauro Carvalho Chehab1-18/+13
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Be sure to use kmalloc'ed buffer for transfersMauro Carvalho Chehab1-10/+17
USB data transfers may not work if the buffer is allocated at the stack. Be sure to use kmalloc on all places where a buffer is needed. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Protect read/write calls with a mutexMauro Carvalho Chehab1-60/+62
This will avoid interference with CI and IR I/O operations. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Driver cleanupMauro Carvalho Chehab1-43/+13
Remove commented test code, remove unused poweroff stuff, and fix the copyright data. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: code cleanups and fixesMauro Carvalho Chehab1-65/+83
Several changes were needed to make az6007 to work, producing the same commands as the original driver. This patch does that. While here, be less verbose when debug is not enabled. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] drxk: Allow enabling MERR/MVAL cfgMauro Carvalho Chehab4-2/+13
Those two settings are different when used with az6007. Add a config option to enable it. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] drxk: add support for Mpeg output clock drive strength configMauro Carvalho Chehab3-9/+10
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Use DRX-K dynamic clock modeMauro Carvalho Chehab1-4/+5
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] drxk: Allow setting it on dynamic_clock modeMauro Carvalho Chehab2-12/+19
This is used on az6007. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Use a per device private structMauro Carvalho Chehab1-6/+5
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Change it to use the MFE solution adopted at dvb-usbMauro Carvalho Chehab1-25/+17
This driver were written to use a previous solution for MFE at dvb-usb. Due to the internal API changes, change the binding to work with the new way. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Use the new MFE support at dvb-usbMauro Carvalho Chehab1-36/+38
Use the newly dvb-usb MFE support added by changeset 9bd9e3bd2c57530dfe3057dd0aa9bdb37824925d. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: improve the error messages for az6007 read/write callsMauro Carvalho Chehab1-4/+3
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Fix IR receive codeMauro Carvalho Chehab1-11/+26
The code still needs to be commented, as there's a mutex missing at the az6007_read() call. A mutex there is needed, in order to prevent RC (or CI) calls while other operations are in progress. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Simplify the code by removing an uneeded functionMauro Carvalho Chehab1-29/+0
Everything to reset the demod is already at az6007_frontend_poweron(). Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Simplify the read/write logicMauro Carvalho Chehab1-98/+87
This patch introduces no functional changes. It basically defines a macro for each different req found at the driver, and cleans the code to use them, making easier to understand the code. With regards to the IR handling code, although the original code doesn't define what's the request, it is clear, from the USB logs, that 0xc5 is for IR polling. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Change the az6007 read/write routine parameterMauro Carvalho Chehab1-28/+28
Use usb_device for those routines, as it allows using them on all places. While there, rename to better express the meaning. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Fix some init sequences and use the right firmwaresMauro Carvalho Chehab1-62/+43
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: need to define drivers name before including dvb-usb.hMauro Carvalho Chehab1-1/+1
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] drxk: Don't assume a default firmware nameMauro Carvalho Chehab4-6/+8
Move the ngene/ddbridge firmware into their drivers. There are two reasons for that: 1) The firmware used there didn't work for a few devices I tested here (Terratec H5, H6 and H7); 2) At least Terratec H7 doesn't seem to require a firmware for it to work. After this change, if firmware is not specified, the driver will use a rom-based firmware (this seems to be the case for Terratec H7, although I need to better check the USB dumps to be sure about that). In any case, the firmware seems to be optional, as the DRX-K driver don't return the firmware load error. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: make driver less verboseMauro Carvalho Chehab1-18/+17
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: move device PID's to the proper placeMauro Carvalho Chehab2-4/+2
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Replace the comments at the beginning of the driverMauro Carvalho Chehab1-3/+20
The comments there is wrong. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Get rid of az6007.hMauro Carvalho Chehab2-20/+9
The header file serves for no purpose and exports some things that should be static. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: CodingStyle cleanupMauro Carvalho Chehab1-119/+120
make checkpatch.pl happy Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-01-21[media] az6007: Remove some dead code that doesn't seem to be neededMauro Carvalho Chehab1-63/+16
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Privacy Policy