summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-09-02dvb-core: check fe->ops.set_frontend return valueJanne Grunau
From: Janne Grunau <j@jannau.net> Various frontend driver have parameter checks in their set_frontend functions and return an error if the parameters are not supported, tda10021 and cx24116 to name two. The tuning ioctls FE_SET_FRONTEND/FE_SET_PROPERTY only change values in the property cache and return before set_frontend is called. If a set_frontend call in software zigzag algorithm fails and the card was previously locked it will report a lock and the new parameters but is still tuned to the old transport. This is not detectable from userspace. This change checks the return values of fe->ops.set_frontend and changes the state to the added FESTATE_ERROR for software zigzag. No lock will be reported to userspace if the State is FESTATE_ERROR. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
2009-09-02DVB: make DVB_MAX_ADAPTERS configurableJanne Grunau
From: Janne Grunau <j@jannau.net> Support for more than 8 DVB devices is requested regularly so make it a kconfig variable instead of a header define. Values in the range 4-32 are tested. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-01vino: add missing compat.h include.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> vino needs compat.h to get the I2C_ADDRS macro on kernels < 2.6.31. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-09-01gspca - sonixj / sn9c102: Two drivers for 0c45:60fc and 0c45:613e.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Let 0c45:60fc in sn9c102 and 0c45:613e in gspca-sonixj (sensor not supported). Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-09-01gspca - vc032x: Do the LED work with the sensor hv7131r.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-09-01gspca - vc032x: Change the start exchanges of the sensor hv7131r.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The new exchanges are taken from the information file of the ms-win driver (usbvm326.inf - webcam 15b8:6002). Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-09-02gspca - sunplus: The brightness is signed.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-09-01merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-01libv4l: Document that passing in NULL as 3th arg to v4l2_ioctl is not allowedhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Document that passing in NULL as 3th arg to v4l2_ioctl is not allowed Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-09-01libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-31ir-keymaps: Fix some trobles on a bad patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Due to some merge conflicts, I had to manually fix one patch. It seems that I missed to convert some fields. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31v4l2-spec: A few minor language improvementsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Just do 3 minor editorial revisions on the text added at the previous patches. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31cx25840: fix determining the firmware nameHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Depending on the model there are three different firmwares to choose from. Unfortunately if a cx23885 is loaded first, then the global firmware name is overwritten with that firmware and if ivtv is loaded next, then it tries to load the wrong firmware. In addition, the original approach would also overwrite any firmware that the user specified explicitly. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Jarod Wilson <jarod@wilsonet.com>
2009-08-31si4713: simplify the code to remove a compiler warning.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> The compiler warned about an uninitialized stereo variable. By simplifying the code it 1) improved readability and 2) fixed the compiler warning. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Eduardo Valentin <eduardo.valentin@nokia.com>
2009-08-31compat: don't build soc-camera modules for kernels < 2.6.28.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Compiling this for pre-2.6.28 kernels will generate a lot of warnings due to a prototype change in dev_get_drvdata. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> CC: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
2009-08-31compat: don't build si4713 for kernels < 2.6.26Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> si4713 requires the new i2c API, so no point trying to build it on those old kernels. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2009-08-31libv4l: Report V4L2_FMT_FLAG_EMULATED in v4l2_fmtdesc flags for emulated formatshans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: Report V4L2_FMT_FLAG_EMULATED in v4l2_fmtdesc flags for emulated formats Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-31Add new V4L2_FMT_FLAG_EMULATED flag to videodev2.hhans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> V4L2_FMT_FLAG_EMULATED 0x0002 This format is not native to the device but emulated through software (usually libv4l2), where possible try to use a native format instead for better performance. Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-31libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-31gspca - sunplus: Optimize code.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2009-08-31libv4l: update upside down devices tablehans@rhel5-devel.localdomain
From: Hans de Goede <hdegoede@redhat.com> libv4l: update upside down devices table Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2009-08-31v4l2-spec: Add keytable.c example to remote controller chapterMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31v4l2-spec: Update revision fieldsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Update revision fields to match the Remote Controller chapter. While here, increment spec to version 2.6.32 to match Linux Kernel revision. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31v4l2-spec: Add an introduction to remote controllersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31ir-common: fix the lack of ir tableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> drivers/media/video/em28xx/em28xx-cards.c:565: error: ‘ir_codes_gadmei_rm008z’ undeclared here (not in a function) Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-31v4l2-spec: Start documenting IR tablesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-30em28xx: Add entry for GADMEI UTV330+ and related IR keymapMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Shine Liu <shinel@foxmail.com> [mchehab@redhat.com: Fix a few wrong IR keymaps] Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-30gspca - m5602-s5k4aa: Add vflip quirk for the GX700Erik Andrén
From: Brian Kloppenborg <bkloppenborg@gmail.com> The MSI GX700 is a tricky machine to support. Some revisions do need the sensor flipped, but not all. Add another quirk, distinguished by its BIOS date. Priority: normal Signed-off-by: Brian Kloppenborg <bkloppenborg@gmail.com> Signed-off-by: Erik Andrén <erik.andren@gmail.com>
2009-08-302: fix typos in INSTALLMauro Carvalho Chehab
From: Márton Németh <nm127@freemail.hu> Fix some typos in INSTALL documentation coming from http://linuxtv.org/hg/v4l-dvb . Priority: low Signed-off-by: Márton Németh <nm127@freemai.hu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29keytable: Don't display KEY_RESERVED codesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As KEY_RESERVED is used for some spare space at the keycode table, don't return it while displaying the current table Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29keytable: Prints a more comprehensive error messageMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29gen_keytables.pl: Fix parsing for some IR tablesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> There are some tables where the last value ends with } Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29dvb-usb-remote: return KEY_RESERVED if there's free space for new keysMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The input subsystem checks if get_keycode works for a scan code. Due to that, we need to return a valid value when there's some space at the table that can be used by a scancode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29pvrusb2: disable tda18271 slave tuner output / loop thru in standby modeMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Enable the standby mode optimization to disable the tda18271 slave tuner output / loop thru options when in low power mode Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29saa7134: disable tda18271 slave tuner output / loop thru in standby modeMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Enable the standby mode optimization to disable the tda18271 slave tuner output / loop thru options when in low power mode Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-15merge: ~mkrufky/tda18271Michael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-15tda18271: fix bad data in tda18271_cid_target tableMichael Krufky
From: Henk Vergonet <Henk.Vergonet@gmail.com> Fixed one value and removed a duplicate in tda18271_cid_target[], based on table 54 "CID_Target_map" in Rev.04 of the TDA18271HD datasheet. Priority: normal Signed-off-by: Henk Vergonet <Henk.Vergonet@gmail.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-15tda18271: update temperature compensation calculatation formulaMichael Krufky
From: Henk Vergonet <Henk.Vergonet@gmail.com> Update the tda18271c2_rf_tracking_filters_correction function to include the modified temperature compensation calculatation formula as described in Rev.04 of the TDA18271HD datasheet. Priority: normal Signed-off-by: Henk Vergonet <Henk.Vergonet@gmail.com> Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-06tda18271: fix comments and make tda18271_agc debug less verboseMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Don't display "no agc configuration provided" unless DBG_ADV is set. Fix comments in function, tda18271_agc. This config variable is not for LNA configuration -- it is for external AGC configuration. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-09-05tda18271: improve error log in function tda18271_write_regsMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Display function parameters, idx and len, in error log. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-30tda18271: ensure that configuration options are set for multiple instancesMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> For the case of multiple tuner instances, ensure that non-default configuration options are saved into the driver's state. This resolves an issue where a configuration option may not be carried into the driver if the analog side of a hybrid driver initializes before the digital side. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-30tda18271: move small_i2c assignment to the state config blockMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> minor cleanup: move small_i2c assignment to the state config block Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29tda18271: move tda18271_sleep directly below tda18271_initMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29tda18271: change output feature configuration to a bitmaskMichael Krufky
From: Michael Krufky <mkrufky@kernellabs.com> For better readability, treat the low power standby mode configuration as an output option feature configuration, and change it to a bitmask. If left unconfigured, all features will remain enabled, just as the default configuration was before these changes were introduced. Priority: normal Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
2009-08-29dvb-usb-remote: Allow dynamically replacing the IR keycodesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Implements handler for EVIOCGKEYCODE/EVIOCSKEYCODE via adding two new callbacks to the input device. Since on dvb-usb a scan code has 16 bits, to fulfill rc5 standard codes, the default getkeycode/setkeycode input methods would require the driver to spend up to 64 Kb of a sparse table. Instead, add two new callbacks to the event device. With this, it is now possible to replace the keycode tables. There are, however, a few implementation details at the current patch: 1) It will replace the existing device keytable, instead of creating an instance of the data. This works. However, if two devices pointing to the same table were connected, changing the IR table of one will also change the IR table for the other (the solution for this one is simple: just kmalloc some memory); 2) In order to change the scan code, you need first to change the key to KEY_RESERVED or KEY_UNKNOWN to free some space at the table (solution: allocate some additional space for newer scan codes or allow dynamic table grow); 3) The table size cannot be extended. It would be easy to allow the table to grow dynamically: just calling kmalloc(size+1); kfree(old). Yet, maybe we can just create a bigger table with a fixed size, like for example a table with 128 entries. This should be enough even for a very big IR. The current issues should be addressed on a later patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29dvb-usb: store rc5 custom and data at the same fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> In order to be closer to V4L IR implementation, it is needed to replace u8 custom, data to: u16 scan This allows using non-rc5 mappings, like the 8 bit keycodes used on older protocols. It will also allow future implementations of rc6 keystrokes when needed. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29gen_keytables: generate also dvb-usb.h based keybablesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-08-29SAA7164: Ensure the HVR-2200 second tuner is configured in slave mode.Steven Toth
From: Steven Toth <stoth@kernellabs.com> SAA7164: Ensure the HVR-2200 second tuner is configured in slave mode. Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-08-29SAA7164: Minor i2c assignment cleanupSteven Toth
From: Steven Toth <stoth@kernellabs.com> SAA7164: Minor i2c assignment cleanup Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
2009-08-29SAA7164: Remove meaningless if'0 codeSteven Toth
From: Steven Toth <stoth@kernellabs.com> SAA7164: Remove meaningless if'0 code Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>