summaryrefslogtreecommitdiff
path: root/linux/drivers/staging
AgeCommit message (Collapse)Author
2009-09-19go7007: Revert compatibility code added at the wrong placeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Compatibility code is not allowed upstream. While this could eventually be useful by out-of-tree compilation, directly from http://linuxtv.org/hg/v4l-dvb tree, the compatibility code is at the wrong place. In a matter of fact, it is not needed at all, since compat.h already handles such things. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> CC: Pete <pete@sensoray.com> CC: Douglas Schilling Landgraf <dougsland@gmail.com>
2009-09-18merge: http://www.linuxtv.org/hg/~dougsland/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18go7007: sound needs compat.hDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> Adding include "compat.h" Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: convert printks to v4l2_infoDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> Use v4l2_info and v4l2_err where appropriate. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18s2250-board: Implement brightness and contrast controlsDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> The brightness and contrast controls were added to the Sensoray 2250 device. A read register function was added to set the correct bit fields. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18s2250-board: Fix memory leaksDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> In some error cases, allocated buffers need to be freed before returning. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: Implement vidioc_g_std and vidioc_querystdDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> Implemented the vidio_g_std and vidio_querystd ioctls. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: Merge struct gofh and go declarationsDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> The declarations for struct go7007_file *gofh and struct go7007 *go can be merged when gofh isn't used by the function. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: Fix mpeg controlsDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> MPEG controls were disabled by Mauro's ioctl conversion patch. They are now re-enabled and cleaned up. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: Fix whitespace and line lengthsDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> Trailing whitespace is removed. Source lines wrap at 80 columns. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-18go7007: Updates to Kconfig and MakefileDouglas Schilling Landgraf
From: Pete Eberlein <pete@sensoray.com> Replace "weird device" with accurate descriptions. Add menu options and makefile lines for the i2c modules. Added comment about why dvb-usb is included. Added include sound/config.h for Ubuntu 8.04 distro kernel. Priority: normal Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
2009-09-15tm6000: remove legacy compatibility code from driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-15go7007: semaphore -> mutex conversionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-15go7007: fix bad whitespacingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Replaces 8 spaces by tabs and remove a few bad whitespacing Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-15drivers/staging/go7007: properly add go7007 driver to the treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> We need to preserve bad whitespacing and #if 0 comments to avoid having it diverged from upstream code. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-15go7007: remove it to apply it at the right wayMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: The driver import from upstream at changeset 12727 didn't happen at the right way, since it produces a large diff set, when compared with upstream version: $ git diff |diffstat -p1 drivers/staging/go7007/go7007-fw.c | 19 - drivers/staging/go7007/go7007-v4l2.c | 516 -------------------------------- drivers/staging/go7007/go7007.txt | 172 +++++----- drivers/staging/go7007/s2250-board.c | 2 drivers/staging/go7007/wis-sony-tuner.c | 79 ---- drivers/staging/go7007/wis-tw9903.c | 49 --- 6 files changed, 87 insertions(+), 750 deletions(-) So, it is better to just remove the drivers, and re-insert at the right way. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: i2c addresses should now be specified in 7bit formatsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: Fix almost all warnings at the driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Onr warning is left, since it is there for a purpose: tm6000-core.c:218: warning: ISO C90 forbids mixed declarations and code It indicates a place where a temporary hack were added. Tests are needed to be sure that we can remove it. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: Fix compilation against 2.6.31Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14cx25821/Makefile: CleanupMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Remove an extra line that it is not needed Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: Add README with todo listMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14cx25821: Add README with todo listMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-18Backport a few fixes needed do be done at -git to properly compile thingsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-28tm6000: more buffer handling fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Before this patch, we were writing outside vmalloced buffer Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-28tm6000: avoid writing on a floating pointerMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-28tm6000: cleanup: remove a test debug codeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-26tm6000: avoid kernel panic while retrieving the filling bufferMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Instead of storing next buf on a temp var, saved over URB processing, restore it using get_next_buf. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25tm6000: Fix compilation with newer v4l2-dev APIMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25tm6000: add support for HVR900HMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25tm6000: Another trial to fix analog streamingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-25tm6000: Fix color support on tm6010Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> TM6010 uses some different registers for format support. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-04-28tm6000: make tree buildableMauro Carvalho Chehab
From: Maykel Moya <moya-lists@infomed.sld.cu> Signed-off-by: Maykel Moya <moya@infomed.sld.cu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-04-09tm6000: revert to an old way to copy videoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> The new way is causing machine hangups. This one works. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-04-09tm6000: Cleanups to work like em28xx-videoMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: Fix two warningsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11Add a proper init code for -alsaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Uses about the same initialization code as defined on usbaudio.c. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: allow compilation of tm6000-alsa moduleMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: Convert cx88-alsa into tm6000-alsaMauro Carvalho Chehab
- Remove cx88 specific setups; - Add tm6000 specific start/stop commands; - Do CodingStyle cleanups. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-11tm6000: copy cx88-alsa as tm6000-alsaMauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-10tm6000: several changes on usb preparation trying to avoid -EPROTO errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-09tm6000: fixes several CodingStyle and do some cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-09tm6000: fix image hangsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> A previous committed patch hanged image output. This patch corrects this issue. It also warrants that buffer is updated for each frame0+frame1 frame set. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: adds 10ms delay between two consecutive i2c write opsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> tm6000 original driver seems to use a delay between two consecutive i2c write operations. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-14tm6000: I2C reading operations is not reliable on tm6000Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> tm6000 sometimes can't read from i2c, but this is currently required for tuner-xc2028 to work. This patch adds an option to tuner-xc2028 to not rely on i2c reading. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: Uses another method for handling incomplete packetsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This requires a little more memory, and some memcpy to work, but the logic is simpler than the previous method. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-01-08tm6000: Add support for tm6010Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-24tm6000: update USB request names and clean up i2c routineMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Update the descriptions of the USB request types so that they match what we now know they do. Rework the i2c_xfer function so that it is more explicit what sort of I2C transfers it is that the tm6000 can't perform. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-23tm6000: fix i2c readingsMauro Carvalho Chehab
From: Christopher Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-23tm6000: mts parameter has changed on tuner-xc2028.cMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2007-11-19tm6000: Use dvb_frontend_detach instead of single symbol_put commandsMauro Carvalho Chehab
From: Michel Ludwig <michel.ludwig@gmail.com> Thanks to Mike Krufky for pointed that one out. Also include some minor cleanups. Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>