23 May, 2007
27 commits
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: ads7846 - SPI_CPHA mode bugfix
Input: ads7846 - document that it handles tsc2046 too
Input: input-polldev - add module info
Input: ucb1x00-ts - remove commented out code
Input: ucb1400_ts - use sched_setscheduler()
Input: ALPS - force stream mode
Input: iforce - minor clean-ups
Input: iforce - fix force feedback not working
Input: adbhid - do not access input_dev->private directly
Input: logips2pp - add type 72 (PS/2 TrackMan Marble) -
In commit [1] the SPI mode is set to 1, but it should be 0. As stated
in the commit, ads784x samples the data on the rising edge. SPI mode 1
samples on the falling edge [2] though.The root cause of this is a bug in the omap_uwire code, which treats
CPHA=1 incorrectly; so these two bugs cancel each other out on one
of the main regression test platforms for this driver.[1] kernel.org GIT 7937e86a70235e1584486654687dc9908a11e00a
[2] http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_BusSigned-off-by: David Brownell
Signed-off-by: Dmitry Torokhov -
The TSC2046 is an updated version of the ADS7846 ... mention that in
the Kconfig helptext and driver source.Signed-off-by: David Brownell
Acked-by: Kevin Hilman
Signed-off-by: Dmitry Torokhov -
This is required to load it as a module, as GPL-compatible
license is necessary to use workqueues.Signed-off-by: Eric Piel
Signed-off-by: Dmitry Torokhov -
Signed-off-by: Dmitry Torokhov
-
Fix Philips UCB1400 driver to use sched_setscheduler() instead of setting
the fields of task_struct directly.Signed-off-by: Satoru Takeuchi
Signed-off-by: Andrew Morton
Signed-off-by: Dmitry Torokhov -
ALPS appears to need SETSTREAM command after reset, otherwise it
does not produce any data. Now that we do not request stream mode
by default individual drivers need to take care of it.[Jason Riedy - fix oops]
Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Johann Deneux
Signed-off-by: Dmitry Torokhov -
Use an interrupt URB to send force-feedback data to the device
instead of a bulk URB. This was broken since 2.6.18.Signed-off-by: Johann Deneux
Signed-off-by: Dmitry Torokhov -
* 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
i2c-s3c2410: Fix build warning
i2c-tiny-usb: Fix truncated adapter name
i2c: Legacy i2c drivers shouldn't issue uevents -
* master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6:
sh: Fix dreamcast build for IRQ changes.
sh: Fix clock multiplier on SH7722.
sh: Wire up kdump crash kernel exec in die().
sh: sr.bl toggling around idle sleep.
sh: disable genrtc support.
fs: Kill sh dependency for binfmt_flat.
sh: Disable psw support for R7785RP.
sh: Fix page size alignment in __copy_user_page().
sh: Fix up various compile warnings for SE boards.
sh: Wire up signalfd/timerfd/eventfd syscalls.
sh: revert addition of page fault notifiers
spelling fixes: arch/sh/
input: hp680_ts compile fixes.
sh: landisk: Header cleanups.
sh: landisk: rtc-rs5c313 support.
sh: Kill off pmb slab cache destructor.
sh: Fix up psw build rules for r7780rp.
sh: Shut up compiler warnings in __do_page_fault(). -
* 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
V4L/DVB (5691): Ov7670: reset clkrc in rgb565 mode
V4L/DVB (5690): Cafe_ccic: Properly power down the sensor
V4L/DVB (5680): Tuner-simple.c fix suport for SECAM with FI1216MF
V4L/DVB (5630): Dvb-core: Handle failures to create devices
V4L/DVB (5639a): Fix dst usage count
V4L/DVB (5670): Adding new fields to v4l2_pix_format broke the ABI, reverted that change
V4L/DVB (5640): Fix: em28xx shouldn't be selecting VIDEO_BUF
V4L/DVB (5639): Fix Kconfig dependencies for ivtv -
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] fix kmalloc(0) in arch/ia64/pci/pci.c
[IA64] Only unwind non-running tasks.
[IA64] Improve unwind checking.
[IA64] Yet another section mismatch warning
[IA64] Fix bogus messages about system calls not implemented. -
A bug in the ov7670 sensor causes it to introduce noise unless the CLKRC
register is rewritten *after* setting the image mode. Naturally,
resetting CLKRC in this way will cause other modes to fail. So
carefully poke the register only when indicated.Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
The proper method for powering down the sensor on OLPC systems has
changed somewhat; in particular, the sensor must be powered down
completely (rather than simply told to power down) or the associated
"camera active" LED will stay on.Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
Allow to use SECAM-BG with the FI1216MF tuner.
The selection is done with the secam=B module argument.
The default behaviour should be the same as before.
Signed-off-by: Matthieu CASTET
Signed-off-by: Andrew Morton
Acked-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab -
dvb-core is not started early enough when device drivers that use dvb are
compiled in so dvb_register_device fails (silently) since dvb_class is
NULL, this runs dvb_init using subsys_initcall instead of module_init.dvb_register_device will now check the return value of class_device_create.
Signed-off-by: Simon Arlott
Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Manu Abraham
Signed-off-by: Mauro Carvalho Chehab -
Reverted the change to struct v4l2_pix_format. I completely missed that
this struct was used by existing ioctls so that changing it broke the ABI.
I will have to think of another way of setting the top/left coordinates
but for now this change is reverted to preserve compatibility.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Mauro Carvalho Chehab
-
ivtv were wrongly marked as dependent of USB.
Signed-off-by: Mauro Carvalho Chehab
-
Fix for the following build warning:
CC drivers/i2c/busses/i2c-s3c2410.o
drivers/i2c/busses/i2c-s3c2410.c: In function 's3c24xx_i2c_probe':
drivers/i2c/busses/i2c-s3c2410.c:839: warning: format '%ld' expects type 'long int', but argument 4 has type 'resource_size_t'Signed-off-by: Arnaud Patard
Signed-off-by: Jean Delvare -
Signed-off-by: Jean Delvare
Cc: Till Harbaum -
Prevent legacy drivers from issuing uevents for device creation/removal,
so that userspace can't cause modprobing loops for them. This became a
problem for some legacy PC drivers. I can't easily see it becoming an
issue with I2C legacy drivers, but consistency-in-paranoia seems likely
to be a good thing here. For usable i2c-level driver model uevents, just
switch to a new-style driver.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare -
Hiroyuki Kamezawa reported the problem that pci_acpi_scan_root() of
ia64 might call kmalloc_node() with zero size.Currently ia64's pci_acpi_scan_root() assumes that _CRS method of root
bridge has at least one resource window. But, the root bridges that
has no resource window must be taken into account.Signed-off-by: Kenji Kaneshige
Signed-off-by: Andrew Morton
Signed-off-by: Tony Luck -
Unwinding a running task has proven problematic.
In one instance, the running task was attempting to unwind itself and
received an interrupt between when get_wchan allocated local variables on
the stack and when unw_init_from_blocked_task was called which resulted
in unw_init_frame_info to place this tasks task_struct pointer over the
switch stack's ar_bspstore entry.Signed-off-by: Robin Holt
Signed-off-by: Tony Luck -
This patch adds some sanity checks to keep register and memory stack
pointers in the unw_frame_info structure within the tasks stack address
range.Signed-off-by: Robin Holt
Signed-off-by: Tony Luck
22 May, 2007
13 commits
-
Some missing fixup for the removal of 4 level fixup header.
Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras -
Sam's recent change in 7664709b44a13e2e0b545e2dd8e7b8797a1748dc
broke things for us because we ended up with *(.text.*) before
*(.text), whereas previously *(.text) was first. This was
important because the start of the text section contains the
kernel entry point.In fact, we don't need that *(.text.*) thing anymore and it
incorrectly matched .text.init.refok, thus putting it before
.text. .. ouch !Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras -
pmc.c has:
#ifndef MMCR0_PMA0
#define MMCR0_PMA0 0This one took a while to find. Unfortunately its the wrong define
(number 0 vs letter O). Its probably worth removing this override, since
if our includes get screwed up we will have the same (hard to debug)
failure.Fix it simply for now, so that we can backport to stable.
Signed-off-by: Anton Blanchard
Signed-off-by: Paul Mackerras -
A number of cpu_table entries were missing the pmc_type field,
which means that the sysfs entries for the performance monitor
counters don't get created. This adds them.Signed-off-by: Anton Blanchard
Signed-off-by: Paul Mackerras -
smp_call_function_map() was not safe against preemption to another
cpu: its test for removing self from map was outside the spinlock.
Rearrange it a little to fix that.smp_call_function_single() was also wrong: now get_cpu() before
excluding self, as other architectures do.Signed-off-by: Hugh Dickins
Signed-off-by: Paul Mackerras -
commit e8edc6e03a5c8562dc70a6d969f732bdb355a7e7 added an include of
linux/jiffies.h in linux/smb_fs.h outside the ifdef __KERNEL__.Signed-off-by: Stephen Rothwell
Signed-off-by: Linus Torvalds -
This should make it stop immediately after printing the _helpful_ error
message, rather than continuing to spit out many pages more of 'CHECK
include/linux/foo.h' before eventually coming to a halt with something
less obvious.Now I get this...
CHECK include/linux/smb_fs.h
/shiny/git/linux-2.6/usr/include/linux/smb_fs.h requires linux/jiffies.h, which does not exist in exported headers
make[2]: *** [/shiny/git/linux-2.6/usr/include/linux/.check.smb_fs.h] Error 1
make[1]: *** [linux] Error 2
make: *** [headers_check] Error 2Signed-off-by-if-Sam-says-so: David Woodhouse
[ Sam had better say so! This made me waste way too much time. - Linus]
Signed-off-by: Linus Torvalds -
This from a "tested" patch...
Signed-off-by: Jeff Garzik
Cc: Anton Altaparmakov
Signed-off-by: Linus Torvalds -
This reverts commit f892b7d480eec809a5dfbd6e65742b3f3155e50e, which
totally broke the build on x86 with CONFIG_RELOCATABLE (which, as far as
I can tell, is the only case where it should even matter!) due to a
SIGSEGV in modpost.Cc: Sam Ravnborg
Cc: Atsushi Nemoto
Signed-off-by: Linus Torvalds -
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
Add constant for FCS/CRC length (frame check sequence)
declance: Remove a dangling spin_unlock_irq() thingy
e1000: Don't enable polling in open() (was: e1000: assertion hit in e1000_clean(), kernel 2.6.21.1) -
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
libata: bump versions
libata: Trim trailing whitespace
libata: Kiss post_set_mode goodbye
ata_piix: clean up
pata_hpt366: Enable bits are unreliable so don't use them
libata: Add Seagate STT20000A to DMA blacklist.
ahci: disable 64bit dma on sb600 -
Signed-off-by: Jeff Garzik
-
Signed-off-by: Jeff Garzik