summaryrefslogtreecommitdiffstats
path: root/drivers/staging/altera-stapl/altera.c
Commit message (Collapse)AuthorAgeFilesLines
* [media] altera-stapl: it is time to move out from stagingIgor M. Liplianin2011-09-231-2536/+0
| | | | | | [mchehab@redhat.com: Fix a merge conflict] Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* staging: altera-stapl: Fix memory leak of altera_init()Peter Huewe2011-06-281-12/+21
| | | | | | | | | | | | | | | In case kzalloc() fails the second or third time we should free the previous allocated resources. In order to keep one return point and to keep the cleanup code to one place, some reordering was necessary. Also while at it, removed the *sizeof(char) - to quote Linus: "" Also removed the silly "* sizeof(u8)". If that isn't 1, we have way deeper problems than a simple multiplication can fix. """ Reported-by: Andre Bartke <andre.bartke@gmail.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: altera: move .h file to proper placeGreg Kroah-Hartman2011-06-071-1/+1
| | | | | | | | | | Staging drivers should be self-contained, without files in the include/ directories. So move the altera.h file back to the driver directory for now, until it moves out of the staging tree. Cc: Igor M. Liplianin <liplianin@netup.ru> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [media] Altera FPGA firmware download moduleIgor M. Liplianin2011-03-211-0/+2527
It uses STAPL files and programs Altera FPGA through JTAG. Interface to JTAG must be provided from main device module, for example through cx23885 GPIO. Signed-off-by: Igor M. Liplianin <liplianin@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud