aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/solo6x10
AgeCommit message (Collapse)AuthorFilesLines
2011-11-03staging: Move media drivers to staging/mediaMauro Carvalho Chehab19-6991/+0
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>
2011-08-03drivers:staging:solo6x10:add the missed slab.hWanlong Gao1-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>
2011-08-02staging: more missing slab.h inclusionsAndrew Morton2-0/+2
Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-02drivers/staging/solo6x10/p2m.c needs slab.hAndrew Morton1-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>
2011-08-02drivers/staging/solo6x10/core.c needs slab.hAndrew Morton1-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>
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-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>
2011-04-25staging: solo6x10: add select SND_PCM to fix build errorPeter Foley1-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>
2011-02-18staging: Solo6x10: Changed solo6010* -> solo*, solo6x10* etc.Krzysztof Hałasa16-271/+266
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-18staging: Solo6x10: Stripped "solo6010-" from file names.Krzysztof Hałasa17-39/+21
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>
2011-02-18staging: Solo6x10: remove unneeded __solo parameter from SOLO_*_EXT_ADDR macros.Krzysztof Hałasa4-16/+11
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-18staging: Solo6x10: Add support for SOLO6110 chip.Krzysztof Hałasa6-32/+181
Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-18staging: Solo6x10: Align MPEG video on 8-byte boundary instead of 32-byte.Krzysztof Hałasa2-2/+1
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>
2011-02-18staging: Solo6x10: Build MPEG4 headers on the fly.Krzysztof Hałasa2-127/+122
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>
2011-02-18staging: Solo6x10: accept WxH >= screen dimentions.Krzysztof Hałasa1-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>
2010-12-09staging: solo6010 depends on I2CRandy Dunlap1-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>
2010-11-10Staging: solo6x10: Fix checkpatch errors and most warningsfacugaich11-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>
2010-11-08solo6x10: [P2M] Fix memory leakBen Collins1-1/+4
Signed-off-by: Ben Collins <bcollins@bluecherry.net>
2010-11-05solo6x10: Implement working P2M descriptor more DMABen Collins4-39/+38
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>
2010-11-04solo6x10: Updates to videobuf-dma-sg functions for latest kernelBen Collins2-6/+6
Signed-off-by: Ben Collins <bcollins@bluecherry.net>
2010-11-04solo6x10: Conversion to videobuf-dma-sg (from dma-cont)Ben Collins9-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>
2010-11-04solo6x10: Update TODOBen Collins1-4/+1
Signed-off-by: Ben Collins <bcollins@bluecherry.net>
2010-11-04solo6x10: Spaces to tabsBen Collins2-9/+9
Signed-off-by: Ben Collins <bcollins@bluecherry.net>
2010-10-08Staging: solo6x10: Makefile: replace the use of <module>-objs with <module>-yTracey Dent1-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>
2010-09-16staging: solo6010: fix signess bugVasiliy Kulikov2-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>
2010-09-07staging: Bulk convert the semaphore messThomas Gleixner2-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>
2010-08-31Staging: solo6x10: fixed assignments in if conditions in solo6010-core.cPrashant P. Shah1-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>
2010-08-31Staging: solo6x10: return -EFAULT on copy_to_user errorsDan Carpenter1-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>
2010-07-08Staging: solo: add delay.h headerRandy Dunlap1-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>
2010-06-25Staging: solo: depends on SNDRandy Dunlap1-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>
2010-06-23Staging: solo6x10: Add TODOBen Collins1-0/+28
Signed-off-by: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-23Staging: solo6x10: Support for tw2865 in cascade/full modesBen Collins2-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>
2010-06-22Staging: solo6x10: New driver (staging) for Softlogic 6x10Ben Collins18-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>