summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2011-12-16staging:iio: iio_trigger contains defunct owner field. Remove it.Jonathan Cameron4-5/+0
This field moved into the trigger_ops structure a while back, but somehow never quite got cleared up. This clears the last few drivers to set it (nothing uses it) and gets rid of it entirely. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16staging:iio: Make sure all triggers have a trigger_ops for the owner field.Jonathan Cameron2-1/+10
The core needs the owner field to prevent module removal whilst in use and uses it without confirming that the trigger_ops structure actually exists. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16iio: gyro: ADXRS450: Add support for ADXRS453 Digital GyroscopeMichael Hennerich3-21/+50
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16iio: gyro: ADXRS450: Add missing read support for calibbias attributeMichael Hennerich1-0/+7
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16iio: gyro: ADXRS450: Add missing scale attributesMichael Hennerich1-4/+20
Add missing scale attributes. Temperature data is presented as 10-bit, twos complement number. Therefore use singed and shift accordingly. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16staging: comedi_fops.c whitespace fixesFlorian Schmaus1-12/+12
Changed whitespaces in comedi/*.c to tabs where necessary. All .c files within comedi now have no obvious style problems as reported by checkpatch.pl Signed-off-by: Florian Schmaus <fschmaus@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16staging: crystalhd: bc_dts_defs.h: Fix up coding styleJorgyano Vieira1-90/+172
Fix comments style on structs and enums Break long lines. Signed-off-by: Jorgyano Vieira <jorgyano@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-16Staging: android: fixed white spaces coding style issue in logger.cMarco Navarra1-7/+7
This patch fixes some space-before-tabs warnings found by checkpatch tool on the staging android driver file logger.c Signed-off-by: Marco Navarra <fromenglish@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in contec_pci_dio.cRavishankar karkala Mallikarjunayya1-6/+6
This is a patch to the contec_pci_dio.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in das1800.cRavishankar karkala Mallikarjunayya1-6/+6
This is a patch to the das1800.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printk to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in das1800.cRavishankar karkala Mallikarjunayya1-6/+6
This is a patch to the das1800.c file that fixes up a printk warning found by the checkpatch.pl tool. Included KERN_facility levels for printk. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in cb_pcidas64.cRavishankar karkala Mallikarjunayya1-4/+3
This is a patch to the cb_pcidas64.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels> and Removed unnecessary printk statements. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in cb_pcidas64.cRavishankar karkala Mallikarjunayya1-10/+9
This is a patch to the cb_pcidas64.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels> and Removed unnecessary printk statements. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in cb_pcidas.cRavishankar karkala Mallikarjunayya1-5/+9
This is a patch to the cb_pcidas.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels>.. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in cb_pcidas.cRavishankar karkala Mallikarjunayya1-5/+6
This is a patch to the cb_pcidas.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg().. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in das1800.cRavishankar karkala Mallikarjunayya1-13/+14
This is a patch to the das1800.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in das1800.cRavishankar karkala Mallikarjunayya1-3/+4
This is a patch to the das1800.c file that fixes up a printk warning found by the checkpatch.pl tool. Coverted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in daqboard2000.cRavishankar karkala Mallikarjunayya1-4/+5
This is a patch to the daqboard2000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in das1800.cRavishankar karkala Mallikarjunayya1-3/+4
This is a patch to the das1800.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix brace coding style issue in ni_at_a2150.cRavishankar karkala Mallikarjunayya1-5/+3
This is a patch to the ni_at_a2150.c file that fixes up a brace warning found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in jr3_pci.cRavishankar karkala Mallikarjunayya1-14/+11
This is a patch to the jr3_pci.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels> and Removed unnecessary printk statements. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in jr3_pci.cRavishankar karkala Mallikarjunayya1-5/+5
This is a patch to the jr3_pci.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in daqboard2000.cRavishankar karkala Mallikarjunayya1-11/+7
This is a patch to the daqboard2000.c file that fixes up a printk warning found by the checkpatch.pl tool. converted printks to dev_printk and Removed unnecessary printk statements. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in daqboard2000.cRavishankar karkala Mallikarjunayya1-3/+3
This is a patch to the daqboard2000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in pcmuio.cRavishankar karkala Mallikarjunayya1-3/+5
This is a patch to the pcmuio.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_dbg(). Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in pcmuio.cRavishankar karkala Mallikarjunayya1-5/+5
This is a patch to the pcmuio.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_functions. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in pcmuio.cRavishankar karkala Mallikarjunayya1-6/+6
This is a patch to the pcmuio.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_functions. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in dt3000.cRavishankar karkala Mallikarjunayya1-5/+5
This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in dt3000.cRavishankar karkala Mallikarjunayya1-4/+4
This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_functions. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in dt3000.cRavishankar karkala Mallikarjunayya1-3/+4
This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in dt3000.cRavishankar karkala Mallikarjunayya1-3/+3
This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Added KERN_facility levels. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in dt3000.cRavishankar karkala Mallikarjunayya1-2/+3
This is a patch to the dt3000.c file that fixes up a printk warning found by the checkpatch.pl tool. Converted printks to dev_<levels>. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13staging/mei: code style - cleanup blanksTomas Winkler5-34/+23
1. Remove redundant blanks 2. Straighten code lines that don't go over 80 characters Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13staging/mei: remove outdated comment about setting iamthif_mtuTomas Winkler1-7/+2
iamthif_mtu doesn't have default value anymore it is always supplied by the ME firmware Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13staging: remove version.h includes in rtl8192eDevendra Naga11-11/+0
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-13Staging: comedi: fix printk issue in jr3_pci.cRavishankar karkala Mallikarjunayya1-14/+14
This is a patch to the jr3_pci.c file that fixes up a printk warning found by the checkpatch.pl tool. Added KERN_facility levels for printks. Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12Staging: remove version.h includes in drivers/staging/rts5139Devendra Naga2-2/+0
This was reported by "make versioncheck" Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging:iio:kfifo_buf: Fix potential buffer overflow in iio_read_first_n_kfifoLars-Peter Clausen2-2/+6
n is the number of bytes to read, not the number of samples. So if there is enough data available we will write to the userspace buffer beyond its bounds. Fix this by copying n bytes maximum. Also round n down to the next multiple of the sample size, so we will only read complete samples. If the buffer is too small to hold at least one sample return -EINVAL. Also update the documentation of read_first_n to reflect the fact that 'n' is supposed to be in bytes and not in samples. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: bcm: HandleControlPacket.c: breaking of long linesJohannes Tenschert1-24/+45
Signed-off-by: Johannes Tenschert <Johannes.Tenschert@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: bcm: HandleControlPacket.c: fix parens/bracesJohannes Tenschert1-28/+12
Signed-off-by: Johannes Tenschert <Johannes.Tenschert@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: bcm: HandleControlPacket.c: fix commentsJohannes Tenschert1-36/+45
Signed-off-by: Johannes Tenschert <Johannes.Tenschert@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: bcm: HandleControlPacket.c: fix indentationJohannes Tenschert1-66/+65
Signed-off-by: Johannes Tenschert <Johannes.Tenschert@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: bcm: HandleControlPacket.c: fix whitespacesJohannes Tenschert1-68/+68
Signed-off-by: Johannes Tenschert <Johannes.Tenschert@informatik.stud.uni-erlangen.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: drm/omap: DMM based hardware scrolling consoleRob Clark7-46/+153
Add support for YWRAP scrolling by shuffling pages around in DMM instead of sw blits. Note that fbcon only utilizes this mode if the y resolution is divided evenly by the font height. So, for example, a 1920x1080 display using a 16 pixel tall font will not utilize this, but a 1280x1024 display would. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: drm/omap: crtc/encoder/fb destroy cleanupsRob Clark3-8/+4
Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12staging: drm/omap: allocation fail checkRob Clark1-0/+4
Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-12Staging: VME: PIO2: Add GPIOLIB dependancyMartyn Welch1-0/+1
The PIO2 driver errors when GPIOLIB, on which it depends, is not enabled. Add dependancy when selecting the PIO2. Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Martyn Welch <martyn.welch@ge.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09staging: line6: fixed ALSA/PCM interactionMarkus Grabner6-45/+118
The PCM subsystem in the Line6 driver is mainly used for PCM playback and capture by ALSA, but also has other tasks, most notably providing a low-latency software monitor for devices which don't support hardware monitoring (e.g., the TonePort series). This patch makes ALSA "play nicely" with the other components, i.e., prevents it from resetting the isochronous USB transfer while other PCM tasks (software monitoring) are running. Signed-off-by: Markus Grabner <grabner@icg.tugraz.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09staging: line6: wait for urbs in snd_line6_prepare()Stefan Hajnoczi1-0/+14
The .trigger() pcm callbacks are not allowed to block and cannot wait until urbs have completed. We need to ensure that stopping, preparing, and then restarting a stream always works. Currently the driver will sometimes return -EBUSY when restarting the stream because urbs have not completed yet. This can be triggered by jackd from userspace. The solution is to wait on urbs in the .prepare() pcm callback since blocking is allowed in that callback. This guarantees that all urbs are quiesced and ready to be submitted when the start trigger callback is invoked. Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Markus Grabner <grabner@icg.tugraz.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09staging: line6: eliminate useless NULL checksStefan Hajnoczi4-20/+4
The line6 driver checks struct field addresses for NULL where it does not make sense to do so. The struct has already been checked for NULL and there is no value in checking the first field's address too. Suggested-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Markus Grabner <grabner@icg.tugraz.at> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>