Commit graph android_kernel_sony_sdm845/drivers
Message SHA1
[PATCH] Make sure therm_adt746x only handles known hardware
This patch limits therm_adt746x to currently existing fan controllers in
Apple laptops.  It may avoid problems with future hardware.

Signed-off-by: Colin Leroy <colin@colino.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Colin Leroy   authored and   Linus Torvalds   commited 2005-05-25 15:31:29 -07:00
a8bacec093
[PATCH] IB: fix endianness of path record MTU field
Make MTU field in SA PathRecord and MCMemberRecord a u8 rather than an enum
to avoid complications with endianness.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Roland Dreier   authored and   Linus Torvalds   commited 2005-05-25 15:31:28 -07:00
3bf4fb820d
[PATCH] IB: fix potential ib_umad leak
Free all unclaimed MAD receive buffers when userspace closes our file so we
don't leak memory.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Roland Dreier   authored and   Linus Torvalds   commited 2005-05-25 15:31:28 -07:00
561e148ea9
[PATCH] IB: allow NULL sa_query callbacks
Check if a client passes a NULL callback into an SA query, and if so, never
call back.  This fixes an oops if someone unloads ib_ipoib and ib_sa in
rapid succession.  ib_ipoib does an MCMember delete with a NULL callback
and 0 timeout on unload, which is usually fine since the delete completes
successfully.  However, if ib_sa is unloaded immediately afterwards, the
delete will be canceled and ib_sa will try to call the (now already
unloaded) ib_ipoib module back with the cancel completion, which triggers
the oops.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Roland Dreier   authored and   Linus Torvalds   commited 2005-05-25 15:31:28 -07:00
e4f50f003d
[PATCH] ipmi build fix
It looks like the recent IPMI patches had some -mm-onlyisms.

Signed-off-by: Neil Horman <nhorman@redhat.com>
Cc: Corey Minyard <minyard@acm.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Neil Horman   authored and   Linus Torvalds   commited 2005-05-25 15:31:27 -07:00
dca79a046b
[PATCH] v4l: bttv i2c oops fix
Don't try to access the i2c bus if the register wasn't successful.

Signed-off-by: Gerd Knorr <kraxel@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Gerd Knorr   authored and   Linus Torvalds   commited 2005-05-25 15:31:27 -07:00
5daf05fbf7
Merge of 'for-linus' branch from
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

Linus Torvalds   commited 2005-05-25 14:01:50 -07:00
1b981021e8
Automatic merge of /spare/repo/netdev-2.6 branch amd8111
  authored and   Jeff Garzik   commited 2005-05-25 13:57:36 -04:00
f6f3a488e5
Automatic merge of /spare/repo/netdev-2.6 branch pcnet32
  authored and   Jeff Garzik   commited 2005-05-25 13:57:25 -04:00
a58eae6480
Automatic merge of /spare/repo/netdev-2.6 branch ixgb
  authored and   Jeff Garzik   commited 2005-05-25 13:57:15 -04:00
09e62666d8
Automatic merge of /spare/repo/netdev-2.6 branch e1000
  authored and   Jeff Garzik   commited 2005-05-25 13:57:03 -04:00
34812c9e18
Automatic merge of /spare/repo/netdev-2.6 branch e100
  authored and   Jeff Garzik   commited 2005-05-25 13:56:55 -04:00
d6d78f63ce
Merge of /spare/repo/netdev-2.6 branch misc-fixes
  authored and   Jeff Garzik   commited 2005-05-25 13:56:22 -04:00
a83d5cf7a1
[PATCH] relax ide-cd dma restrictions
This has been sitting for a while, and is causing lots of grief for
people burning CDs.  It relaxes the dma restriction for ide-cd,
requiring only the length to be 32-byte aligned, address should be fine
at normal double word alignment.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Jens Axboe   authored and   Linus Torvalds   commited 2005-05-25 10:17:08 -07:00
384f1fcd2d
[PATCH] Speedtouch resync after lost signal.
There's a bigger Speedtouch update coming your way after 2.6.12 but in
the meantime, let's at least make it automatically resync if the DSL
signal is lost.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

David Woodhouse   authored and   Linus Torvalds   commited 2005-05-25 10:13:43 -07:00
0e15850200
[PATCH] aic7xxx_osm build fix
Fix a c99ism.

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Andrew Morton   authored and   Linus Torvalds   commited 2005-05-24 20:08:14 -07:00
d981289627
[PATCH] saa6752hs build fix
For older gcc's.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Andrew Morton   authored and   Linus Torvalds   commited 2005-05-24 20:08:13 -07:00
558ac33e09
[MTD] cfi_cmdset_0002: Fix broken status check
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-24 15:33:49 +02:00
22fd9a8750
[PATCH] tulip: add return to ULI526X clause in tulip_mdio_write
The 'if' clause for ULI526X in tulip_mdio_write allows for
spin_unlock_irqrestore to be called twice for tp->mii_lock.  I believe
this is caused by the unintentional omission of a return at the end
of that clause.  This patch adds that return.

Signed-off-by: John W. Linville <linville@tuxdriver.com>

John W. Linville   authored and   Jeff Garzik   commited 2005-05-24 00:26:12 -04:00
9092f46b5a
[PATCH] driver core: restore event order for device_add()
As a result of the split of the kobject-registration and the
corresponding hotplug event, the order of events for device_add() has
changed. This restores the old order, cause it confused some userspace
applications.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Kay Sievers   authored and   Linus Torvalds   commited 2005-05-23 16:08:12 -07:00
187a1a94d6
[TG3]: Update driver version.
Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2005-05-23 14:00:44 -07:00
d1faeaeb95
[TG3]: Increase TEST_BUFFER_SIZE to 8K.
This makes the DMA bug workaround test more likely
to find the problem on some systems.

Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2005-05-23 13:59:47 -07:00
ded7340d9d
[TG3]: Update driver version and reldate.
Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2005-05-23 13:13:15 -07:00
413f5431a5
[TG3]: Add 5752M device ID.
Add 0x1601 as 5752M, it's a 5752 but for mobile PCs.
Stolen from Broadcom bcm5700-8.1.55 driver.

Someone forgot to add it to tg3 ;-)

Signed-off-by: David S. Miller <davem@davemloft.net>

Xose Vazquez Perez   authored and   David S. Miller   commited 2005-05-23 12:54:51 -07:00
d8659255c5
Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Thomas Gleixner   commited 2005-05-23 15:11:45 +02:00
f08276136b
[MTD] CFI-0002 - Improve error checking
Check for errors besides infinite loops when writing and erasing.

Signed-off-by: Eric W. Biederman <ebiederman@lnxi.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Eric W. Biedermann   authored and   Thomas Gleixner   commited 2005-05-23 13:22:11 +02:00
fb4a90bfcd
[MTD] CFI flash locking reorg for XIP
This reworks the XIP locking to make sure no lock primitive is ever
called from XIP disabled paths even if in theory they should not
cause any reschedule.  Relying on the current spinlock implementation
is rather fragile and not especially clean from an abstraction pov.
The recent RT work makes it even more obvious.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Nicolas Pitre   authored and   Thomas Gleixner   commited 2005-05-23 13:21:35 +02:00
6da70124a1
[MTD] NAND: Honour autoplacement schemes supplied by the caller
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-23 13:20:45 +02:00
90e260c84f
[MTD] CFI DEBUG_LOCK_BITS fixes for Intel NOR flash:
adjust chip-relative offsets to
block address, write to block address + 2 per recent datasheets.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Todd Poynor   authored and   Thomas Gleixner   commited 2005-05-23 13:18:44 +02:00
c25bb1f59c
[MTD] mtdram: Quick cleanup of the driver:
- Lindent
- Removal of slram/phram functionality
- Removal of most #ifdefs

Signed-off-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Joern Engel   authored and   Thomas Gleixner   commited 2005-05-23 13:18:26 +02:00
c13cbf3b50
[MTD] NAND: Fix the broken dynamic array allocations
Reverting the change from 1.136 to 1.137 (back to static allocation of ecc
arrays) due to stack corruption and ecc errors.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Jarkko Lavinen   authored and   Thomas Gleixner   commited 2005-05-23 13:17:30 +02:00
0a18cde60f
[MTD] DiskOnChip: Add some comments
Add helpful comment about oobfree so I can't claim two years from 
now that I don't remember what I was thinking.

Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:11:44 +02:00
abc37e6771
[MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS.
Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:11:16 +02:00
7e4a1d3e6a
[MTD] DiskOnChip: Prevent problems with existing filesystems
Try not to break existing jffs2 installs, instead break oobfree into 
two out-of-order pieces.

Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:10:57 +02:00
dff5942198
[MTD] NAND: Fix reading of autoplaced OOB when there are multiple free sections.
Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:10:30 +02:00
82e1d19fc3
[MTD] DiskOnChip: Fix (?) free OOB array info.
I really hope this doesn't break something.

Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:10:04 +02:00
e5a3e8ca94
[MTD] NAND: Move the NULL check into the calling function
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-23 13:09:10 +02:00
22c60f5fb7
[MTD] NAND: Fix missing NULL pointer check
Version 1.137 broke nand_read_ecc clients who pass NULL oobsel.  Fixed.

Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:08:47 +02:00
bb75ba4c44
[MTD] Fix OTP for top-parameter devices
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Nicolas Pitre   authored and   Thomas Gleixner   commited 2005-05-23 13:07:50 +02:00
dce2b4da69
[MTD] Reset file position when switching OTP mode
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Nicolas Pitre   authored and   Thomas Gleixner   commited 2005-05-23 13:07:33 +02:00
81dba48879
[MTD] NAND: Fix oob available calculation
Use oobfree to calculate the number of oob bytes available for fs usage

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-23 13:07:14 +02:00
998cf6403c
[MTD] Add reboot notifier to Intel NOR flash driver
to make sure the flash is in array mode whenever we're about to
reboot. This is especially useful to allow "soft" reboot to work
which consists of branching back into the bootloader.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Nicolas Pitre   authored and   Thomas Gleixner   commited 2005-05-23 13:06:28 +02:00
963a6fb0a0
[MTD] Avoid compile warnings for Intel CFI flash without OTP support.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Todd Poynor   authored and   Thomas Gleixner   commited 2005-05-23 13:06:01 +02:00
8048d2fc38
[MTD] cfi_cmdset_0001: Skip delay if Instant Block Locking is set
Skip jiffy delay after each block lock/unlock for Intel CFI flash
with the "Instant Individual Block Locking" feature bit set.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Todd Poynor   authored and   Thomas Gleixner   commited 2005-05-23 13:05:37 +02:00
9a6e73ec49
[MTD] DiskOnChip: Scan the entire device for Media Headers.
Add a new module param, show_firmware_partition.

Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Dan Brown   authored and   Thomas Gleixner   commited 2005-05-23 13:04:36 +02:00
1a78ff6b41
[MTD] NAND: Use arrays of needed size instead of constant-sized.
Signed-off-by: Artem B. Bityuckiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Artem B. Bityuckiy   authored and   Thomas Gleixner   commited 2005-05-23 13:04:06 +02:00
15fc108606
[MTD] sharpsl-flash: Correct error paths
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Richard Purdie   authored and   Thomas Gleixner   commited 2005-05-23 13:03:41 +02:00
8f5a4486c0
[MTD] Add support for more SharpSL machines and fix missing mapping init
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Richard Purdie   authored and   Thomas Gleixner   commited 2005-05-23 13:03:24 +02:00
ba38069875
[MTD] plat-ram: Make it usable on non ARM platforms
Use memset instead of ARM only memzero function

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-23 13:00:41 +02:00
a921e28b4b
[MTD] block2mtd: Fix incompatible pointer type
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Thomas Gleixner   commited 2005-05-23 13:00:18 +02:00
cc71229ff3