29 Jun, 2011
40 commits
-
As per printk_ratelimit comment, it should not be used
Signed-off-by: Christian Dietrich
Signed-off-by: Greg Kroah-Hartman -
Fixed a coding-style issue, ``return'' with parens.
Signed-off-by: Aviv Ben-Yosef
Signed-off-by: Greg Kroah-Hartman -
Use the normal include style.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Fixed all errors but one (possibly a mistake by the checker) reported by
the checker.Signed-off-by: Curtis McEnroe
Signed-off-by: Greg Kroah-Hartman -
Removed unnecessary braces.
Signed-off-by: Curtis McEnroe
Signed-off-by: Greg Kroah-Hartman -
Replaced __FUNCTION__ with __func__
Signed-off-by: Curtis McEnroe
Signed-off-by: Greg Kroah-Hartman -
Replaced usage of __FUNCTION__ with __func__
Signed-off-by: Curtis McEnroe
Signed-off-by: Greg Kroah-Hartman -
The return variable of psb_gtt_pin() may be used
uninitialized. Also fixed some coding style issues.Signed-off-by: Andre Bartke
[Reapplied by hand due to other changes]
Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
Squash a hardcoded assumption we shouldn't really make
Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
Clean up the GTT code a bit, make the pages uncached and go via the proper
interfaces. This avoids any aliasing problems.On the CPU side we need to access the pages via their true addresses not via
the GTT. This is fine for GEM created fb objects for X. For the kernel fb
when not in stolen RAM we are going to need to use vm_map_ram() and hope we
have enough virtual address space to steal.Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
The vme_irq_set is oblviously not needed (a remnant from old tests) and the
IOCTL exchange types have been updated following Greg's comments.Allow the IOCTL call to generate VME interrupts when called on the vme/ctl
device with the right arguments.Signed-off-by: Vincent Bossier
Acked-by: Martyn Welch
Signed-off-by: Greg Kroah-Hartman -
The wait_event_interruptible call requires a condition as second argument that
needs to be true sometimes, which is obviously not the case with '0'. The new
logic is inspired from the tsi148 driver and takes into account Universe II chip
specifics.Signed-off-by: Vincent Bossier
Acked-by: Martyn Welch
Signed-off-by: Greg Kroah-Hartman -
Resurrect the vme/ctl device by allowing to open it even if it has no resources
and make related read/write/llseek operations dummy.Signed-off-by: Vincent Bossier
Acked-by: Martyn Welch
Signed-off-by: Greg Kroah-Hartman -
The driver must acknowledge the interrupts that have been actually serviced, not
the ones active. The current code could acknowledge an interrupt that has not
been serviced at all.Signed-off-by: Vincent Bossier
Acked-by: Martyn Welch
Signed-off-by: Greg Kroah-Hartman -
This patch solves all the existing issues reported by checkpatch.pl in the VME
sub-system.Signed-off-by: Vincent Bossier
Acked-by: Martyn Welch
Signed-off-by: Greg Kroah-Hartman -
Fixed all errors reported by the checker in tm6000-video.c mostly relating
to whitespace.Signed-off-by: Curtis McEnroe
Signed-off-by: Greg Kroah-Hartman -
Small fix in adv_pci1723.c for a "whitespace before quoted newline" warning
from checkpatch.plSigned-off-by: Matt Billenstein
Signed-off-by: Greg Kroah-Hartman -
In case of an error stream_bufs is not freed here.
Signed-off-by: Andre Bartke
Acked-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
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
Signed-off-by: Peter Huewe
Signed-off-by: Greg Kroah-Hartman -
This patch transforms drivers/staging/dt3155v4l driver to use videobuf2 framework.
Tested and works with "xawtv -f".Either streaming API or read method should be selected during kernel configuration.
If both are selected into the driver (not possible without another patching),
either due to my misunderstanding or problems in xawtv (or both), I get kernel panic
after some start/stop of xawtv (not strictly reproducible).Signed-off-by: Marin Mitov
Signed-off-by: Greg Kroah-Hartman -
Implement the error handling for regulator in synaptics
rmi4 touch screenSigned-off-by: Naveen Kumar Gaddipati
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Jonathan Neuschäfer
Signed-off-by: Greg Kroah-Hartman -
Use consistent spacing in array indexing, and a whitespace fix.
Signed-off-by: Tim Retout
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Fixed some whitespace coding style issues.
Signed-off-by: Ralf Thielow
Signed-off-by: Greg Kroah-Hartman -
Fixed a declaration coding style issue.
Signed-off-by: Ralf Thielow
Signed-off-by: Greg Kroah-Hartman -
It was pointed out by 'make versioncheck' that include of
linux/version.h is not needed in drivers/staging/mei/main.c .
This patch removes it.Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman -
Fix warning: reported in http://marc.info/?l=linux-kernel&m=130812960402606&w=2
drivers/staging/mei/interrupt.c: warning: 'buffer' may be used uninitialized in this function: => 198
It is a real issue and wrong path in execution is taken when
list is empty or (cl && _mei_irq_thread_state_ok(cl, mei_hdr))
evaluates to falseSigned-off-by: Tomas Winkler
Signed-off-by: Greg Kroah-Hartman -
1. remove list used for loop. There were only 2 loops used in non
time critical places so we can safely unroll them
2. normalize functions names operating on io_list to mei_io_list_
3. rename mei_fe_same_id to mei_cl_cmp_id used for comparing list
elements containing struct mei_cl
4. group together io_list functions in the header fileSigned-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
remove write only/unsed variables
mei_dev.write_hang and mei_io_lis.tdevice_extensionSigned-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
use type bool for boolean variables in struct mei_dev
this should save some space providing boolean is 8 bitsSigned-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
All global functions must start with mei_ to reduce the risk of name colisions
Signed-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Tomas Winkler
Signed-off-by: Oren Weil
Signed-off-by: Greg Kroah-Hartman -
Implement cfg80211_ops set_pmksa, del_pmksa, and flush_pmksa to enable
PMKSA caching support.kvalo: backported from ath6kl-cleanup tree
Signed-off-by: Jouni Malinen
Signed-off-by: Kalle Valo
Signed-off-by: Greg Kroah-Hartman -
Add testmode support for running low level hardware tests. The testmode
is enabled by setting testmode module parameter to 1.For now only a simple command passing is supported. More advanced
support will be implemented later.Signed-off-by: Kalle Valo
Signed-off-by: Greg Kroah-Hartman -
cfg80211 exports wiphy->fw_version to user space via ethtool interface.
The obligatory screenshot:
$ sudo ethtool -i wlan0
driver: ath6kl_hifdev
version: 2.6.39-rc4+
firmware-version: 3:1:1:149
bus-info: mmc0:0001:1
$Signed-off-by: Kalle Valo
Signed-off-by: Greg Kroah-Hartman -
It was pointed out by 'make versioncheck' that some includes of
linux/version.h are not needed in drivers/staging/ath6kl/.
This patch removes them.Signed-off-by: Jesper Juhl
Signed-off-by: Greg Kroah-Hartman -
Drivers should not request firmware during resume. Fix ath6kl to
cache the firmware instead.Signed-off-by: Kalle Valo
Cc: stable [3.0]
Signed-off-by: Greg Kroah-Hartman