summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/av7110_hw.c
AgeCommit message (Collapse)Author
2009-04-19av7110_hw: fix compile warningMauro Carvalho Chehab
From: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Alexey Klimov <klimov.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-04-14backport commit 9137f05f7e72517d44b6b0c15b11b419ecb5d201Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Author: Jaswinder Singh <jaswinder@infradead.org> Date: Mon Apr 6 14:34:12 2009 -0700 firmware: convert av7110 driver to request_firmware() kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-06-20av7110: OSD transfers should not be interruptedOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> OSD transfers should not be interrupted. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-06-20av7110: Catch another type of ARM crashOliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Catch another type of ARM crash. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2008-04-08media/dvb/ttpci replace remaining __FUNCTION__ occurrencesMichael Krufky
From: Harvey Harrison <harvey.harrison@gmail.com> __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-08-27whitespace cleanup: replace leading spaces with tabsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> There were many instances of 7-space indents spread throughout the v4l-dvb tree. This patch replaces the 7-space indents with tabs. The whitespace cleaner script doesn't catch these, because it assumes that all indents are 8-space. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-07-13saa7146/dvb-ttpci: Fix signedness warnings (gcc 4.1.1, kernel 2.6.22)Oliver Endriss
From: Oliver Endriss <o.endriss@gmx.de> Fix signedness warnings (gcc 4.1.1, kernel 2.6.22). Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2007-05-13Backport kernel changeset e63340ae6b6205fef26b40a75673d1c9c0c8bb90Mauro Carvalho Chehab
From: Mauro Carvalho Chehab kernel-sync: The original patch description, from Randy Dunlap <randy.dunlap@oracle.com>: header cleaning: don't include smp_lock.h when not used Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21Backport of git changeset cd354f1ae75e6466a7e31b727faede57a1f89ca5Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Backport a changeset from Schmielau <tim@physik3.uni-rostock.de> that removes uneeded includes for linux/sched.h Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29Ttpci/: remove unneeded #include <linux/byteorder/swabb.h>'sMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Since av7110.c is the only file actually using something from this header, there's no reson for other files to Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-02-24Workaround to fix initialization for Nexus CAOliver Endriss
From: Marco Schluessler <marco@lordzodiac.de> Workaround for Nexus CA: Debi test fails unless first debi write is repeated. Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2006-02-06sem2mutex: drivers/media/, #2Mauro Carvalho Chehab
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Kernel-sync from patch 3318b Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-15Fix compilation with AlphaMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - BOOT_SIZE name is also used at alpha and were breaking compiling with allyesconfig. - All BOOT_* renamed to AV7110_BOOT* to fix and keep names with the same style. Thanks to Andrew Morton for pointing this. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-01-03av7110 driver: improved recovery from ARM crash and crash detectionOliver Endriss
Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-12-08keep #if 0 for existent code when genreating kernel patchesMauro Carvalho Chehab
kernel-sync Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-08-08disable COM_IF_LOCK workaround for firmware > 0x2619Oliver Endriss
2005-07-24disable HANDSHAKE_REG tests, they seem to be superflousJohannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-06-27remove two trailing spacesJohannes Stezenbach
2005-06-26timeout handling fixed, especially for preemtible kernels and/or high system ↵Oliver Endriss
load Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-06-14fix bug in timeout handlingJohannes Stezenbach
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
2005-06-13From: Wolfgang Rohdewald <wolfgang@rohdewald.de>Johannes Stezenbach
- make sure ERESTARTSYS will be propagated - ReleaseBitmap: starting with Firmware 261e, also release when BMP_LOADING - removes unused #define BMP_LOADINGS - in many cases changed the return value from -1 to something more meaningful like ETIMEDOUT, EINVAL - changed syslog message timeout waiting for COMMAND such that it indicates what command did not complete - reduce # of arguments for LoadBitmap and BlitBitmap - av7110_osd_cmd: remove the out: label Signed-off-by: Wolfgang Rohdewald <wolfgang@rohdewald.de>
2005-05-05cleanup from kernel: remove some unused static inlinesJohannes Stezenbach
2005-04-23patch by Adrian Bunk:Johannes Stezenbach
- make needlessly global code static - #if 0 the following unused global functions: - ttpci/av7110_hw.c: av7110_reset_arm - ttpci/av7110_hw.c: av7110_send_ci_cmd - frontends/mt352.[ch]: drop mt352_read Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-03-17ttpci: follow dvb_register_adapter changes in dvbdev.[ch]Andreas Oberritter
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-02-04patch by Al Viro from 2.6.11-rc3: __user annotationJohannes Stezenbach
2005-01-01some more error messages to detect broken cardsJohannes Stezenbach
2004-12-26- clean up debi irq/tasklet handling to make it work on SMPJohannes Stezenbach
- misc. changes to av7110_send_fw_cmd() error handling done along the way
2004-12-14- OSD timeout handling fixed, no crashes anymore with firmware 261d-rc5 or laterOliver Endriss
- avoid race conditions when sending COMTYPE_MISC commands
2004-12-02av7110_fe_lock_fix():Oliver Endriss
- firmware version 261d: wait for msg queue empty - firmware <= 261c: wait 50ms
2004-12-02Patch by C.Y.M.: add __user and __iomem annotations, remove someJohannes Stezenbach
unnecessary casts (cleanups from mailine kernel)
2004-12-01__av7110_send_fw_cmd(): added some sanity checks suggested by Werner FinkOliver Endriss
2004-11-21- prefix IER_DISABLE and IER_ENABLE with SAA7146_Johannes Stezenbach
- add SAA7146_ISR_CLEAR - use those consistently in the ttpci driver
2004-11-16Fixed race condition between driver and av7110 while accessingOliver Endriss
the COMMAND register in DPRAM. See http://www.linuxtv.org/mailinglists/vdr/2004/01-2004/msg00331.html Special thanks to Dr. Werner Fink for debugging the other (ARM) side.
2004-11-15added some error messages for debi debuggingOliver Endriss
2004-11-13Fix dvb-ttpci driver for new wait_for_debi_done(...,busywait) routine.Oliver Endriss
Note that 'busywait' is misleading: should be called 'nobusywait'
2004-11-12 - fix atomic schedulingKenneth Aafloy
2004-11-12Updated to fix problems with some CAMs on KNC1 cardsAndrew de Quincy
2004-10-05change wording: "BIOS hotplug" -> "BIOS Plug&Play OS"Johannes Stezenbach
2004-09-20- remove stupid DEB_* debugging macro horror from av7110 and budget drivers, ↵Michael Hunold
replace them with dprintk(level, msg) instead - remove whitespace and linefeed violations all over the place
2004-08-18- nuke dvb functions stuffMichael Hunold
2004-08-11- if the OSD timeouts in LoadBitmap() or BlitBitmap(), reset the driverMichael Hunold
osd state to BMP_NONE, so that following OSD commands don't block. this doesn't fix the problem that the firmware/driver internally has race conditions wrt the OSD, but the driver won't freeze applications any more.
2004-07-31merge back various cleanups from mainline kernel:Johannes Stezenbach
- sparse annotiations (viro) - NULL noise removal (viro) - #if where #ifdef should've been (saa7146) (viro) - convert private ABS() to kernel's abs() (rddunlap) - dvb_register_i2c_device() locking fix for -ENOMEM (akpm) - dvb_register_i2c_bus() locking fix for -ENOMEM (akpm)
2004-07-30 - More MODULE_PARM -> module_param changes, all should be corrected now.Kenneth Aafloy
- Remove unused av7110 DEBUG_VARIABLE.
2004-07-29- timeout variable in arm_thread() must be int, not unsigned longMichael Hunold
- replace home-brewn waiting stuff in osd code with wait_event_interruptible_timeout() - put a semaphore around osd calls to make sure they're properly serialized
2004-07-27dditional OSD window types:Oliver Endriss
applied patch by Jeremy Jones mr.lebowski (at) gmail.com with some modifications
2004-07-18New ioctl OSD_GET_CAPABILITY/OSD_CAP_MEMSIZE - returns size of OSD memory.Oliver Endriss
2004-06-13add missing get_user() calls for OSD_SetPalette;Johannes Stezenbach
fix based on patch by Pekka Pietikainen
2004-05-03- fix include file order in ttpci-driverMichael Hunold
- convert tda1004x driver to kernel i2c, implement untested firmware loading