diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-21 15:09:18 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-21 15:09:18 +0000 |
commit | 8885ae67a74cc797319f82ff9d2afb54dadfdfc7 (patch) | |
tree | 9422ed4ffc262aa7192398fcb7807140c5805882 /meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch | |
parent | 8b1c5c437e88cc946c59e5e2a239e10f03c97dfc (diff) | |
download | openembedded-core-8885ae67a74cc797319f82ff9d2afb54dadfdfc7.tar.gz openembedded-core-8885ae67a74cc797319f82ff9d2afb54dadfdfc7.tar.bz2 openembedded-core-8885ae67a74cc797319f82ff9d2afb54dadfdfc7.tar.xz openembedded-core-8885ae67a74cc797319f82ff9d2afb54dadfdfc7.zip |
linux-rp: 2.6.25+2.6.26-rc4 -> 2.6.26 and apply the i2c suspend/resume fix for zaurus devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4914 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch')
-rw-r--r-- | meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch b/meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch new file mode 100644 index 000000000..b5439c62e --- /dev/null +++ b/meta/packages/linux/linux-rp-2.6.26/connectplus-prevent-oops-HACK.patch @@ -0,0 +1,17 @@ +Index: linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c +=================================================================== +--- linux-2.6.21.orig/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:45:39.000000000 +0100 ++++ linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:47:30.000000000 +0100 +@@ -2666,6 +2666,12 @@ + iface = netdev_priv(dev); + local = iface->local; + ++ if(dev->base_addr == 0) ++ { ++ printk(KERN_DEBUG "%s: IRQ before base_addr set\n", dev->name); ++ return IRQ_HANDLED; ++ } ++ + prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0); + + if (local->func->card_present && !local->func->card_present(local)) { |