summaryrefslogtreecommitdiffstats
path: root/drivers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [media] go7007: Fix 2250 urb typePete2011-11-251-1/+7
| | | | | | | | | | commit a846d8fce9e8be30046be3c512982bd0345e7015 The 2250 board uses bulk endpoint for interrupt handling, and should use a bulk urb instead of an int urb. Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] pwc: Use kmemdup rather than duplicating its implementationThomas Meyer2011-11-251-2/+1
| | | | | | | | The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821: Use kmemdup rather than duplicating its implementationThomas Meyer2011-11-253-21/+12
| | | | | | | | The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] v4l: Casting (void *) value returned by kmalloc is uselessThomas Meyer2011-11-251-1/+1
| | | | | | | | The semantic patch that makes this change is available in scripts/coccinelle/api/alloc/drop_kmalloc_cast.cocci. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dw2102: Use kmemdup rather than duplicating its implementationThomas Meyer2011-11-251-9/+6
| | | | | | | | The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] drxd: Use kmemdup rather than duplicating its implementationThomas Meyer2011-11-251-2/+1
| | | | | | | | The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dib9090: limit the I2C speedOlivier Grenie2011-11-241-3/+4
| | | | | | | | The intend of this patch is to limit the maximum I2C speed. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dib8096P: add the reference board TFE8096POlivier Grenie2011-11-242-0/+298
| | | | | | | | | The intend of this patch is to add the support for the DiBcom reference board TFE8096P. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] add the support for DiBcom dib8096POlivier Grenie2011-11-245-98/+1024
| | | | | | | | The purpose of this patch is to support the DiBcom chip dib8096P. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dib7090: add the reference board TFE7790EOlivier Grenie2011-11-242-0/+155
| | | | | | | | | The intend of this patch is to add the support for the DiBcom reference board TFE7790E. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DiB8000: improve the tuning and the SNR monitoringOlivier Grenie2011-11-241-2/+3
| | | | | | | | | | This patches improves the tuning of the dib8000 and correct the monitoringr of the SNR.The patch allows to faster detect that there is no ISDB-T channel on the wanted frequency. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DiBcom: correct warningsOlivier Grenie2011-11-243-4/+5
| | | | | | | | The intend of this patch is to correct some warnings given. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dib7090: add the reference board TFE7090EOlivier Grenie2011-11-246-10/+406
| | | | | | | | | The intend of this patch is to add the support for the DiBcom reference board TFE7090E. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] dib7000p/dib0090: update the driverOlivier Grenie2011-11-245-159/+197
| | | | | | | | | This patch intends to update the dib7000p and dib0090 driver in order to improve the performances. Signed-off-by: Olivier Grenie <olivier.grenie@dibcom.fr> Signed-off-by: Patrick Boettcher <patrick.boettcher@dibcom.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] staging: as102: Add support for Sky Italia Digital Key based on the ↵Gianluca Gennari2011-11-242-0/+7
| | | | | | | | | | | | | | same chip Add support for the Sky Italia Digital Key, an USB dongle offered by Sky Italia to its customers for use with their satellite set-top-boxes. This is the "green led" model based on the Abilis as102 chip, while the so called "blue led" model is based on the Avermedia A867 design. Cc: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com> Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] em28xx: Add Terratec Cinergy HTC StickAndreas Oberritter2011-11-243-0/+17
| | | | | Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: fix warnings: variable set but not usedTomas Winkler2011-11-243-11/+9
| | | | | Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: drop usb_class_driverTomas Winkler2011-11-242-25/+1
| | | | | | | Drop usb_class_driver and collaterals as it is not used Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: add easycap prefix to global functions namesTomas Winkler2011-11-246-47/+43
| | | | | | | | Add easycap prefix to global function to reduce possibility of name collision. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: remove unused members of struct easycapTomas Winkler2011-11-241-6/+0
| | | | | Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: easycap_usb_driver should be static to easycap_main.cTomas Winkler2011-11-242-2/+1
| | | | | Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: use usb_kill_urb wrapper functionsTomas Winkler2011-11-244-106/+65
| | | | | | | | | | | | | | | | | | 1. kill_video_usb can be used in all places where video urbs are killed and reduce code repetition 2. remove unnecessary check for easycap == NULL in the function as it is always checked by the calling function 3. rename the function to easycap_video_kill_urb to reduce possibility of name conflict 4. implement also easycap_audio_kill_urb 5. simplify freeing urbs Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: drop initializations to 0 in the probe functionsTomas Winkler2011-11-241-26/+3
| | | | | | | | peasycap was allocated using kzalloc so drop all to zero initializations Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: streamline the codeTomas Winkler2011-11-243-102/+88
| | | | | | | | | | | | | | | | | | | | | | | | change statements of types if (err) return err else do something and if (ok) do something else return err into if (err) return err do something Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: compress initialization tablesTomas Winkler2011-11-241-8/+8
| | | | | | | | | | | | | | | | | | 1. saa and stk initialization tables are less then 256 entries 2. stk table can fit into u16 and saa into u8 size before text data bss dec hex filename 105687 1072 1134800 1241559 12f1d7 easycap.ko size after text data bss dec hex filename 97919 1072 1134800 1233791 12d37f easycap.ko Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: remove linux/version.h include from easycap_ioctl.cTomas Winkler2011-11-241-1/+0
| | | | | Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] easycap: cleanup function usageTomas Winkler2011-11-245-452/+215
| | | | | | | | | | 1. Remove declarations of none global functions from easycap.h and make them static in the c-files. 2. Reorder static functions to reduce number of forward declarations. 3. Remove unused functions. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821.h: Line up definesLeonid V. Fedorenchik2011-11-241-2/+2
| | | | | | | Line up constant defines to the same column. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Change line endingsLeonid V. Fedorenchik2011-11-241-25/+22
| | | | | | | Change obscure line endings to less obscure ones. (improve readability) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Fix indentLeonid V. Fedorenchik2011-11-241-40/+39
| | | | | | | Fix indent of statements to improve readability. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Move operatorsLeonid V. Fedorenchik2011-11-241-2/+2
| | | | | | | | Move operator in complex expression to the end of the line to preserve consistency. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Fix definitionsLeonid V. Fedorenchik2011-11-241-2/+5
| | | | | | | | Change multiple definitions in one statement into multiple statements with one definition per statement. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Fix assignmentLeonid V. Fedorenchik2011-11-241-1/+2
| | | | | | | | Change double assignment in one statement into two assignment statements. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Change spacesLeonid V. Fedorenchik2011-11-241-2/+2
| | | | | | | Change double spaces between lexemes into single spaces. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video.c: Delete empty lineLeonid V. Fedorenchik2011-11-241-1/+0
| | | | | | | Delete unnecessary empty line. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream.c: Change line endingsLeonid V. Fedorenchik2011-11-241-50/+37
| | | | | | | Change obscure line endings to less obscure ones. (improve readability) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream.c: Fix indentLeonid V. Fedorenchik2011-11-241-15/+9
| | | | | | | Change indent of statements to use tabs and to improve readability. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream.c: Remove bracesLeonid V. Fedorenchik2011-11-241-21/+14
| | | | | | | Delete curly braces around single if-else statements. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream-ch2.c: Change line endingsLeonid V. Fedorenchik2011-11-241-47/+35
| | | | | | | Change obscure line endings to less obscure ones. (improve readability) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream-ch2.c: Remove bracesLeonid V. Fedorenchik2011-11-241-5/+3
| | | | | | | Remove unnecessary curly braces around single if statement. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upsstream-ch2.c: Move operatorsLeonid V. Fedorenchik2011-11-241-9/+7
| | | | | | | | Move operators in complex expressions to the end of the lines to preserve consistency. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream-ch2.c: Fix indentLeonid V. Fedorenchik2011-11-241-6/+6
| | | | | | | | Change indent of statements with (less than 8) spaces to indent with tabs. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-video-upstream-ch2.c: Line up commentsLeonid V. Fedorenchik2011-11-241-4/+4
| | | | | | | Line up comments to match indent of surrounding statements. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-video.c: Change line endingsLeonid V. Fedorenchik2011-11-241-241/+159
| | | | | | | Change obscure line endings to less obscure ones. (improve readability) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-video.c: Move operatorsLeonid V. Fedorenchik2011-11-241-4/+4
| | | | | | | | Plase operators in complex expressions at the end of the lines to preserve consistency. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-video.c: Fix commentLeonid V. Fedorenchik2011-11-241-1/+1
| | | | | | | Delete part of the comment that is not checked in code. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-reg.h: Line up definesLeonid V. Fedorenchik2011-11-241-259/+259
| | | | | | | | Line up constant defines to the same column. (also delete unnecessary spaces in comments) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-defines.h: Line up definesLeonid V. Fedorenchik2011-11-241-2/+2
| | | | | | | Line up constant defines to the same column. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-medusa-defines.h: Fix typoLeonid V. Fedorenchik2011-11-241-1/+1
| | | | | | | Fix typo in comment in word 'decoder'. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] cx25821-i2c.c: Change line endingsLeonid V. Fedorenchik2011-11-241-6/+4
| | | | | | | Change obscure line endings to less obscure ones. (improve readability) Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>