aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-08Staging: comedi: fix warning issue in unioxx5.cRavishankar1-17/+29
This is a patch to the unioxx5.c file that fixes up a warning found by the checkpatch.pl tool Signed-off-by: Ravishankar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08Staging: comedi: fix brace coding style issue in serial2002.cRavishankar1-20/+10
This is a patch to the serial2002.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Ravishankar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08Staging: comedi: fix brace and printk coding style issue in serial2002.cRavishankar1-9/+6
This is a patch to the serial2002.c file that fixes up a brace and printk warning found by the checkpatch.pl tool Signed-off-by: Ravishankar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08staging: mei: reordering the exit module cleanupOren Weil1-1/+1
keeping the exit flow in a reverse order then the init flow. Signed-off-by: Oren Weil <[email protected]> Acked-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: remove unneeded check in mdfld_crtc_mode_set()Dan Carpenter1-2/+0
The list cursor is never NULL in a list_for_each_entry() loop. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: reversed test in mdfld_dbi_dsr_exit()Dan Carpenter1-1/+1
We should only cleanup "dsr_info" if it's non-NULL obviously and not the other way around. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08Staging: gma500: typo in array initializationDan Carpenter1-1/+1
There is a comma missing here between the strings so they were concatenated by mistake. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: Fix unused variable in cdv supportAlan Cox1-1/+0
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500; clean mid filesAlan Cox1-6/+4
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: tidy the mrst filesAlan Cox1-2/+2
Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: tidy up the CDV filesAlan Cox5-126/+133
We are close to having PSB and CDV ready for moving from staging so it's time to get the polish out. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: Mask out bits not part of the page table base addressPatrik Jakobsson1-1/+1
Otherwise we can't ioremap the gtt and the screen gets garbled. Signed-off-by: Patrik Jakobsson <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: Fix symbol clash with i915Alan Cox5-7/+7
Randy Dunlap reports: | when both CONFIG_DRM_I915=y and CONFIG_DRM_PSB=y: | drivers/staging/built-in.o: In function `intel_opregion_init': | (.text+0x47943): multiple definition of `intel_opregion_init' | drivers/gpu/built-in.o:(.text+0x17277a): first defined here Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: psb_intel_lvds styleAlan Cox1-26/+23
Fixed some stylistic uglies noticed while fixing the previous bug Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: Re-order checks and dereferences in psb_intel_lvdsAlan Cox1-4/+9
Dan Carpenter reports: Smatch complains about 6a7afe3acc4b "gma500: continue abstracting platform specific code" drivers/staging/gma500/psb_intel_lvds.c +579 psb_intel_lvds_set_property(7) warn: variable dereferenced before check 'encoder' --- a/drivers/staging/gma500/psb_intel_lvds.c +++ b/drivers/staging/gma500/psb_intel_lvds.c @@ -575,11 +575,12 @@ int psb_intel_lvds_set_property(struct drm_connector *connector, struct drm_property *property, uint64_t value) { - struct drm_encoder *pEncoder = connector->encoder; + struct drm_encoder *encoder = connector->encoder; + struct drm_psb_private *dev_priv = encoder->dev->dev_private; ^^^^^^^^^^^^ dereference encoder here. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-08gma500: strip unneeded version headersJesper Juhl4-4/+0
Remove unneeded version.h includes from drivers/staging/gma500/ It was pointed out by 'make versioncheck' that some includes of linux/version.h are not needed in drivers/staging/gma500/. This patch removes them. Signed-off-by: Jesper Juhl <[email protected]> [updated for all th file cleanup and movement] Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06Staging: delete tty driversGreg Kroah-Hartman34-29526/+0
Delete the drivers/staging/tty drivers as no one has wanted to step up and maintain and fix them. This was discussed in commit 4a6514e6d096716fb7bedf238efaaca877e2a7e8 (tty: move obsolete and broken tty drivers to drivers/staging/tty/) Cc: Arnd Bergmann <[email protected]> Cc: Alan Cox <[email protected]> Cc: Jiri Slaby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06Staging: delete generic_serial driversGreg Kroah-Hartman54-20318/+0
No one has steped up to claim them, so as described in commit 4c37705877e74c02c968735c2eee0f84914cf557 (tty: move obsolete and broken generic_serial drivers to drivers/staging/generic_serial/), they are now deleted from the system. Cc: Arnd Bergmann <[email protected]> Cc: Alan Cox <[email protected]> Cc: Jiri Slaby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06Staging: msm: delete the driverGreg Kroah-Hartman66-29601/+0
It doesn't build anymore, no one is working on it, and, according to the developers, there's a different one that is working and in the real part of the kernel already. Acked-by: David Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06staging: comedi: remove COMEDI_DEVICE_CREATE macro, expand all callersPavel Roskin2-10/+5
This is no longer needed as the code is now in the main kernel tree. Signed-off-by: Pavel Roskin <[email protected]> Cc: Frank Mori Hess <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06staging: usbip: userspace: usbipd.c: fix userspace build errorDavid Chang1-8/+8
When build userspace code, got the following error message: make[2]: Entering directory `/usr/src/staging-2.6/drivers/staging/usbip/userspace/src' CC usbip.o ... CCLD usbip CC usbipd.o usbipd.c:30:25: fatal error: stub_driver.h: No such file or directory compilation terminated. make[2]: *** [usbipd.o] Error 1 make[2]: Leaving directory `/usr/src/staging-2.6/drivers/staging/usbip/userspace/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/staging-2.6/drivers/staging/usbip/userspace' make: *** [all] Error 2 Due to commit 756d6726 and a16941ae, stub_driver had been changed into host_driver, so update header filename and functions name to fix these build errors Signed-off-by: David Chang <[email protected]> CC: Joe Perches <[email protected]> Cc: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-06staging: use of tasklets requires including interrupt.hStephen Rothwell1-0/+1
The implicit include of linux/interrupt.h is being removed from netdevice.h. Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05drivers: staging: echo: Fix coding style issues.Chris Forbes1-9/+2
Fixed coding style issues as flagged by checkpatch.pl Signed-off-by: Chris Forbes <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05drivers: staging: bcm: sort: kill handrolled bubblesortChris Forbes1-44/+33
Replaced the handrolled bubblesort with the kernel's sort() function. Makes things considerably smaller & clearer. Signed-off-by: Chris Forbes <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Staging: iio: release locks on error pathsDan Carpenter1-2/+6
There are a couple places here where we should have called mutex_unlock() before returning. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging:iio:gyro:adis16260 fix missing num_channels setup.Jonathan Cameron1-1/+1
Signed-off-by: Jonathan Cameron <[email protected]> Cc: stable <[email protected]> [3.0] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: iio: light sensor: Add a calibscale file to the isl29018 light ↵Bryan Freed2-1/+42
sensor driver. Defaulting to 1, this gives a way to amplify the lux value before being reduced by the programmed adc_bit shift. Only support whole numbers right now. When this driver is converted to the new IIO_CHAN framework, it will be easy to support the framework's pseudo float. Add illuminance0_calibscale documentation to sysfs-bus-iio-light. Signed-off-by: Bryan Freed <[email protected]> Acked-by: Rhyland Klein <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Staging: iio: some uninitialized variable bugsDan Carpenter3-1/+3
There were some uninitialized variable warnings in iio. Two of these came from the recent changes to how the private data was allocated in 83f0422dc6a16 "staging:iio:accel:sca3000: allocate state in iio_dev and use iio_priv to access." drivers/staging/iio/accel/sca3000_core.c: In function 'sca3000_probe': drivers/staging/iio/accel/sca3000_core.c:1137:9: warning: 'st' may be used uninitialized in this function drivers/staging/iio/adc/ad7291.c: In function 'ad7291_probe': drivers/staging/iio/adc/ad7291.c:805:15: warning: 'chip' may be used uninitialized in this function drivers/staging/iio/dac/ad5624r_spi.c: In function 'ad5624r_probe': drivers/staging/iio/dac/ad5624r_spi.c:228:24: warning: 'st' may be used uninitialized in this function Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ste_rmi4: remove cross-dependent platform dataLinus Walleij3-22/+35
The ux500 machine was actually defining platform data for the staging driver ste_rmi4, which is not OK. Let us instead define some __weak platform data in the machine so that the staging driver can override it at compile-time and we can thus have the driver self-contained in staging. Reported-by: Axel Lin <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: ath6kl: implement testmode rx commandKalle Valo4-12/+114
Add new testmode command for retrieving rx reports from firmware. Signed-off-by: Kalle Valo <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05drivers/staging/usbip: bugfix prevent driver unbind regression in linux-nextArjan Mels1-1/+20
Fix regression problem in linux-next: post_reset and pre_reset are no longer included in linux-next while they are in linux-3.0rc5. Signed-off-by: Arjan Mels <[email protected]> Cc: usbip-devel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05Staging: usbip: vhci-hcd: Do not kill already dead RX/TX kthreadTobias Klauser1-2/+2
When unbinding a device on the host which was still attached on the client, I got a NULL pointer dereference on the client. This turned out to be due to kthread_stop() being called on an already dead kthread. Here is how I was able to reproduce the problem: server:# usbip bind -b 1-2 client:# usbip attach -h server -b 1-2 server:# usbip unbind -b 1-2 This patch fixes the problem by checking the kthread before attempting to kill it, as it is done on the opposite side in stub_shutdown_connection(). Signed-off-by: Tobias Klauser <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: configure.ac: change package datamatt mooney1-1/+1
Change package name to usbip-utils, email address to linux-usb, and bump minor version number. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_network.c: coding style cleanupmatt mooney1-31/+42
Change messges to debug, and fix a few coding style issues. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_host: update function and variable namesmatt mooney2-172/+189
Officially change stub_driver to usbip_host_driver. And, reorganize usbip_host_driver.c while also cleaning up coding style. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: rename stub driver filesmatt mooney4-2/+2
Rename stub_driver.? to usbip_host_driver.? Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip list: move output headermatt mooney1-6/+11
Delay the printing of the output header until the list is received from the remote host. This allows notification that the host does not have any exportable devices. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip list: edit output messagesmatt mooney1-24/+34
Edit dbg and normal output messages for consistency and better feedback. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_unbind.c: implement using libsysfsmatt mooney1-16/+107
Modify unbind to use libsysfs, and include a check to verify that the device is actually using usbip-host before proceeding. The output messages have been changed to be consistent with `usbip bind'. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_bind.c: major rewrite of the implementationmatt mooney1-145/+158
Rewrite functions in terms of libsysfs, which eliminates a lot of helper functions simplifying the file layout. Now, the two processes taking place here, an unbind of the old driver and a bind of usbip-host, are single functions and have been renamed along with the controlling function. A check to see if the device is already bound to usbip-host is now included. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: utils.c: rewrite modify_match_busidmatt mooney1-28/+40
Rewrite the function to use libsysfs. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: utils: remove libsysfs circumventionmatt mooney2-263/+18
Removes all of the helper functions that used a lot of hard-coded values intead of libsysfs. Most of these functions were unused anyway. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip: modify command failurematt mooney1-5/+8
When a bad option is given, display a message stating such and output usage. When a bad command is given, output command help. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: libsrc: change all output messages to debugmatt mooney3-83/+80
The library should not be displaying random messages intermixed with those from the programs that use them. So, instead, change all of the output from the library to debug only, and allow the programs to decide what to tell the user. This also changes the messages to use the same form, which makes understanding them easier. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: libsrc: remove usbip.hmatt mooney8-35/+21
Remove the library version of usbip.h because its sole purpose was to include other headers, which is bad practice. Also modify include guards for consistency. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip.c: add log optionmatt mooney1-3/+10
Add option for logging with syslog, and default to use stderr for error and info messages. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: libsrc: set program name for loggingmatt mooney3-0/+9
Set the program name to "libusbip" to identify that the message is from the library code. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_common.h: fixup header includesmatt mooney3-10/+11
Remove unnecessary headers from the file, and add the now missing headers into the files that actually need them. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_common.h: move enumsmatt mooney1-26/+24
Relocate enums to follow logging macros. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-07-05staging: usbip: userspace: usbip_common.h: cleanup log macrosmatt mooney1-45/+43
Provide better abstraction for easier modification, and align the macros for readability. Remove notice() because it is not used. Signed-off-by: matt mooney <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>