summaryrefslogtreecommitdiffstats
path: root/drivers/staging/solo6x10
Commit message (Collapse)AuthorAgeFilesLines
* staging: Move media drivers to staging/mediaMauro Carvalho Chehab2011-11-0319-6991/+0Star
| | | | | | | | | | | | In practice, it is being hard to distinguish when a patch should go to staging tree or to the media tree. Better to distinguish it, by putting the media drivers at a separate staging directory. Newer staging drivers that include anything with "dvb*.h", "v4l2*.h" or "videodev2.h" should go to the drivers/staging/media tree. Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* drivers:staging:solo6x10:add the missed slab.hWanlong Gao2011-08-031-0/+1
| | | | | | | Add the missed linux/slab.h to solo6x10.h. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: more missing slab.h inclusionsAndrew Morton2011-08-032-0/+2
| | | | | Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* drivers/staging/solo6x10/p2m.c needs slab.hAndrew Morton2011-08-031-0/+1
| | | | | | | | | alpha allmodconfig: drivers/staging/solo6x10/p2m.c:52: error: implicit declaration of function 'kzalloc' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* drivers/staging/solo6x10/core.c needs slab.hAndrew Morton2011-08-031-0/+1
| | | | | | | | | alpha allmodconfig: drivers/staging/solo6x10/core.c:140: error: implicit declaration of function 'kzalloc' Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* atomic: use <linux/atomic.h>Arun Sharma2011-07-271-1/+1
| | | | | | | | | | | | | | This allows us to move duplicated code in <asm/atomic.h> (atomic_inc_not_zero() for now) to <linux/atomic.h> Signed-off-by: Arun Sharma <asharma@fb.com> Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: David Miller <davem@davemloft.net> Cc: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* staging: solo6x10: add select SND_PCM to fix build errorPeter Foley2011-04-261-0/+1
| | | | | | | | | This patch fixes a build error when SND_PCM is not set by adding a select statment. Signed-off-by: Peter Foley <pefoley2@verizon.net> Acked-By: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Changed solo6010* -> solo*, solo6x10* etc.Krzysztof Hałasa2011-02-1816-271/+266Star
| | | | | Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Stripped "solo6010-" from file names.Krzysztof Hałasa2011-02-1817-39/+21Star
| | | | | | | | This driver supports both Solo-6010 and Solo-6110 chips anyway. Renamed solo6010.h -> solo6x10.h. Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: remove unneeded __solo parameter from SOLO_*_EXT_ADDR macros.Krzysztof Hałasa2011-02-184-16/+11Star
| | | | | Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Add support for SOLO6110 chip.Krzysztof Hałasa2011-02-186-32/+181
| | | | | Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Align MPEG video on 8-byte boundary instead of 32-byte.Krzysztof Hałasa2011-02-182-2/+1Star
| | | | | | | Solo-6110 only supports 8-byte alignment anyway. Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Build MPEG4 headers on the fly.Krzysztof Hałasa2011-02-182-127/+122Star
| | | | | | | | | | | | | This will make them maintainable. Also, it now works on big-endian systems. This is the slow path (done every 1+ second, per channel) so I guess there is no need to cache the results. I have removed CBR-related bits from the MPEG4 VOL header since we can't do CBR (at least yet). Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: accept WxH >= screen dimentions.Krzysztof Hałasa2011-02-181-4/+8
| | | | | | | | This makes it possible to request full resolution (704x576 or 704x480) independently of the color system used (PAL or NTSC). Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: solo6010 depends on I2CRandy Dunlap2010-12-101-1/+1
| | | | | | | | | | | | | | This driver uses i2c interfaces, so it should depend on I2C (unless someone wants to break it into pieces or make it more config-dependent). drivers/staging/solo6x10/solo6010-i2c.c:47: error: implicit declaration of function 'i2c_transfer' drivers/staging/solo6x10/solo6010-i2c.c:299: error: implicit declaration of function 'i2c_add_adapter' drivers/staging/solo6x10/solo6010-i2c.c:310: error: implicit declaration of function 'i2c_del_adapter' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: Fix checkpatch errors and most warningsfacugaich2010-11-1111-132/+142
| | | | | | | | | This patch fixes all errors and most warnings reported by checkpatch.pl for all the files in the driver. v2: Fix a typo and update the patch against the latest HEAD Signed-off-by: Facundo Gaich <facugaich@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* solo6x10: [P2M] Fix memory leakBen Collins2010-11-081-1/+4
| | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Implement working P2M descriptor more DMABen Collins2010-11-054-39/+38Star
| | | | | | | | | | We have to insert 1 dead descriptor first (all zereos), and then the real data descriptors after that. Everything uses descriptor mode now (8800 interrupts per second for display v4l2 is now down to ~96). Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Updates to videobuf-dma-sg functions for latest kernelBen Collins2010-11-052-6/+6
| | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Conversion to videobuf-dma-sg (from dma-cont)Ben Collins2010-11-059-194/+554
| | | | | | | | | | | | | | | | | | | | | | Full rewrite of the P2M DMA Engine to support scatter gather and take advantage of some of the features of the hardware. This includes using repeat DMA operations and line-mode transfers (for copying OSG and video display buffers). What isn't working: For some reason, descriptor mode is not working. I've implemented a psuedo version (still has one-interrupt per DMA operation), but we would get huge improvements if we could hand off a ring of descriptors to the P2M and get back one interrupt when it was done with all of them. Documentation is very vague on this, and even the ODM example code half attempts to get it right, but comments it out of the driver because it just doesn't work *sigh* Converts all v4l2 to dma-sg. So long slow dma-contiguous, but hello more interrupts :( Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Update TODOBen Collins2010-11-051-4/+1Star
| | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Spaces to tabsBen Collins2010-11-052-9/+9
| | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* Staging: solo6x10: Makefile: replace the use of <module>-objs with <module>-yTracey Dent2010-10-081-1/+1
| | | | | | | Changed <module>-objs to <module>-y in Makefile. Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: solo6010: fix signess bugVasiliy Kulikov2010-09-162-2/+2
| | | | | | | | video_nr is unsigned, so check video_nr >= 0 doesn't make sense. The only "negative" value may be -1, so explicitly check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Bulk convert the semaphore messThomas Gleixner2010-09-082-2/+2
| | | | | | | | init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: fixed assignments in if conditions in solo6010-core.cPrashant P. Shah2010-09-011-14/+26
| | | | | | | | This is a patch to the solo6010-core.c file that fixes the assignments in if condition style issues found by the checkpatch.pl tool. Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: return -EFAULT on copy_to_user errorsDan Carpenter2010-08-311-1/+1
| | | | | | | | copy_to_user() returns the number of bytes remaining to be copied, but we want to return a negative error code here. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo: add delay.h headerRandy Dunlap2010-07-081-0/+1
| | | | | | | | | | | | Several solo drivers need <linux/delay.h>, so add it to the private solo6010.h header file. drivers/staging/solo6x10/solo6010-core.c:191: error: implicit declaration of function 'mdelay' drivers/staging/solo6x10/solo6010-tw28.c:181: error: implicit declaration of function 'msleep_interruptible' drivers/staging/solo6x10/solo6010-gpio.c:78: error: implicit declaration of function 'udelay' drivers/staging/solo6x10/solo6010-v4l2-enc.c:254: error: implicit declaration of function 'mdelay' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
* Staging: solo: depends on SNDRandy Dunlap2010-06-251-1/+1
| | | | | | | | | | | | | | | | | Fix 56 undefined references to snd_*() functions. First 5 are: drivers/built-in.o: In function `solo_g723_exit': (.text+0xa4a4aa): undefined reference to `snd_card_free' drivers/built-in.o: In function `solo_snd_pcm_init': solo6010-g723.c:(.text+0xa4a677): undefined reference to `snd_pcm_new' solo6010-g723.c:(.text+0xa4a6b1): undefined reference to `snd_pcm_set_ops' solo6010-g723.c:(.text+0xa4a74d): undefined reference to `snd_pcm_lib_preallocate_pages_for_all' drivers/built-in.o: In function `solo_g723_init': (.text+0xa4a7f6): undefined reference to `snd_card_create' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: Add TODOBen Collins2010-06-241-0/+28
| | | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: Support for tw2865 in cascade/full modesBen Collins2010-06-242-28/+173
| | | | | | | | Finally got ahold of a card with a tw2865 video/audio multiplexer and the spec sheet to go along with it. Signed-off-by: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: New driver (staging) for Softlogic 6x10Ben Collins2010-06-2318-0/+6311
This driver supports Softlogic 6x10 based codec cards Signed-off-by: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>