- 22 Jul, 2010 40 commits
-
-
Andres More authored
Lindented, cleared checkpatch findings and simplified error handling. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Replaced custom macro with one from include/linux/if_ether.h. Also removed MAX_LOOKAHEAD_SIZE as it is not used elsewhere. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed custom macro with one from include/linux/if_ether.h. Also removed MIN_DATA_LEN as it is not used elsewhere. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed custom macro with one from include/linux/if_ether.h. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed custom macro with one from include/linux/if_ether.h. FCS is an Ethernet field that holds the CRC value. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed an always defined macro, perhaps used to patch the driver Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed an always defined macro, perhaps used to patch the driver Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed an always defined macro, perhaps used to patch the driver Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed an always defined macro, perhaps used to patch the driver Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed an always defined macro, perhaps used to patch the driver Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Lindented, removed unused variables and cleared checkpatch warnings. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Lindented, cleared checkpatch warnings and removed legacy comments. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andres More authored
Removed code guarded by always false definitions. Signed-off-by:
Andres More <more.andres@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Barry Song authored
staging: iio: Add a bits per element element to ring_generic allowing a general ring_sw_preenable_function. Signed-off-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
The addition of a number to the scan_element names caused an issue in drivers that used either #define or an enum to provide the number. Before this fix names like ADIS16350_ACCEL_X_accel_x_en occur rather than 5_accel_x_en. Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Acked-by:
Barry Song <21cnbao@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Jonathan Cameron authored
Signed-off-by:
Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Kulikov Vasiliy authored
panel_bind_key() must free allocated memory. Signed-off-by:
Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Andy Shevchenko authored
We have nice method simple_strtoul() to convert string to numbers which could be used here. Signed-off-by:
Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Kulikov Vasiliy authored
sdev should be freed if stub_add_files() failed. Signed-off-by:
Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Kulikov Vasiliy authored
If error occurs line6_probe() must put interface and usbdev that were got before. Signed-off-by:
Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Arnd Bergmann authored
All these files use the big kernel lock in a trivial way to serialize their private file operations, typically resulting from an earlier semi-automatic pushdown from VFS. None of these drivers appears to want to lock against other code, and they all use the BKL as the top-level lock in their file operations, meaning that there is no lock-order inversion problem. Consequently, we can remove the BKL completely, replacing it with a per-file mutex in every case. Using a scripted approach means we can avoid typos. file=$1 name=$2 if grep -q lock_kernel ${file} ; then if grep -q 'include.*linux.mutex.h' ${file} ; then sed -i '/include.*<linux\/smp_lock.h>/d' ${file} else sed -i 's/include.*<linux\/smp_lock.h>.*$/include <linux\/mutex.h>/g' ${file} fi sed -i ${file} \ -e "/^#include.*linux.mutex.h/,$ { 1,/^\(static\|int\|long\)/ { /^\(static\|int\|long\)/istatic DEFINE_MUTEX(${name}_mutex); } }" \ -e "s/\(un\)*lock_kernel\>[ ]*()/mutex_\1lock(\&${name}_mutex)/g" \ -e '/[ ]*cycle_kernel_lock();/d' else sed -i -e '/include.*\<smp_lock.h\>/d' ${file} \ -e '/cycle_kernel_lock()/d' fi Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Mike Thomas authored
Upsampling from 8000 Hz mono to 32000 Hz stereo improves audio/video synchronization when userspace programs adopt default buffering. This is an experimental feature. Signed-off-by:
Mike Thomas <rmthomas@sciolus.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Mike Thomas authored
New members of struct easycap take the place of undesirable global variables. Signed-off-by:
Mike Thomas <rmthomas@sciolus.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Denis Kirjanov authored
Reorder functions to kill their prototypes. Signed-off-by:
Denis Kirjanov <dkirjanov@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
H Hartley Sweeten authored
Instead of passing the minor number and having to look up the fbuffer, just pass the fbuffer directly to the buffer management code. Also, to make the code more consistent, change the push_empty() call so that the fbuffer is passed as the first parameter. Prototype the printques routine to avoid having to declare it as extern. Cleanup some of the comments in dt3155_isr.h. Signed-off-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Scott Smedley <ss@aao.gov.au> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Kulikov Vasiliy authored
If kmalloc() fails then exit with -ENOMEM. Signed-off-by:
Kulikov Vasiliy <segooon@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Nishanth Menon authored
RET_OK is 0 and RET_FAIL is a -1, replace these custom returns with a standard errno Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Nishanth Menon authored
use readl, writel to get and set the register instead. Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Nishanth Menon authored
std.h introduces _TI_ _FLOAT_ _FIXED_ _TARGET_ ARG_TO_INT ARG_TO_PTR which are no longer being used anywhere. we dont really need the custom std.h header. remove it from the repo. where we need types, introduce standard types.h Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Nishanth Menon authored
kernel has it's own NULL define, we dont need to introduce our own custom NULL type! Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Nishanth Menon authored
bool has standard true and false, we dont need to introduce our own TRUE and FALSE macros. Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-