- 14 Oct, 2007 1 commit
-
-
Tony Lindgren authored
Prevent OTG peripheral trying to change to b_wait_acon if after file storage CBW stall followed by SUSPEND from host. We switch back to b_peripheral if RESET in b_wait_acon mode. Also fix compile warning for missing default case. And don't try to set b_wait_acon mode unless CONFIG_USB_OTG. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 13 Oct, 2007 4 commits
-
-
this patch add the function prototype of set I/O to the header file os it could be used outside since it is exported, but not defined in the header previously Signed-off-by: LuÃs Vitório Cargnini <lvcargnini@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Alan Stern authored
The patch below fixes a few minor infelicities. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Finish getting rid of dma_controller.private data, fixing a bug related to the previous DaVinci private_data fix. Also get rid of a compiler warning in the 2430 dma code. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Clean up OMAP2 Kconfig. Again. - 34xx shouldn't go in the middle of the 24xx stuff, it goofs the dependency tree displayed by e.g. kconfig. In particular, not in the middle of the H4-specific options. - Make the 2420 boards depend on OMAP2420, and 2430 boards on OMAP2430 ... a 2420-only kernel shouldn't show 2430 boards, and vice versa. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 12 Oct, 2007 1 commit
-
-
Syed Mohammed, Khasim authored
The GPT1 CLK SEL register was getting wrong src register, due to which GPT1 was not able to select SYS_CLK as input. Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 11 Oct, 2007 13 commits
-
-
Tony Lindgren authored
Fix compile if CONFIG_ARCH_OMAP_OTG is not set Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Allow suspend if host is already suspended Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
Getting the current status of Vbus is useful when running USB Compliance Tests. Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Sometimes we get both SUSPEND and DISCONNECT the same time. In that case DISCONNECT must be ignored or else the HNP connection will break right away. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This seems like the only way to deal with interrupted HNP if waiting as a_wait_bcon. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
VBUS must be on all the time in this case. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
This patch makes the changes happen based on vbus change. This also seems to make enumeration work better. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
If A-cable was connected and a gadget module was reloaded, root hub suspend would fail. This the problem by managing musb inactive state better. The patch also adds more debug info for cases where suspend is attempted in active state. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
The right state information via sys is good to know, don't try to optimize it away. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Cable was used earlier before OTG support for peripherals, however it does not really work for OTG. Sysfs entry mode shows the right OTG mode and should be used instead. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Notify on all musb_stage0_irq events. For musb_stage2_irq events, add notify on suspend. Do not notify on SOF. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Allow tusb3.0 and greater to use multichannel DMA Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Add set_next_event() and let the clock event code take care of the rest. Note that we're still reprogramming timer in periodic mode, but this is OK as in the worst case we'll just get another interrupt before timer is programmed again. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 09 Oct, 2007 12 commits
-
-
Dirk Behme authored
cppi_controller_start() expects a struct dma_controller as parameter and not dma_controller private_data. Current implementation crashes with e.g. Internal error: Oops: 805 [#1] Modules linked in: CPU: 0 Not tainted (2.6.23-rc4-davinci1 #2) PC is at cppi_controller_start+0x18/0x140 LR is at musb_probe+0x1f4/0x824 Fix this. Initial proposal for fix by David Brownell. Thanks! Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
The workaround to clear both sides of GPIO IRQ applies to 2430 as well as 2420. Use cpu_is_omap24xx() instead of cpu_is_omap2420() Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Felipe Balbi authored
This patch fixes compilation for omap_bl.c due to removal of old class_dev Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br> Acked-by: Luís Cargnini <lvcargnini@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix warning arch/arm/plat-omap/gpio.c: In function '_omap_gpio_init': arch/arm/plat-omap/gpio.c:1299: warning: unused variable 'clk_name' arch/arm/plat-omap/gpio.c: At top level: arch/arm/plat-omap/gpio.c:1282: warning: 'gpio_fck' defined but not used for OMAP1. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Merge branches 'master' and 'linus'
-
Linus Torvalds authored
-
git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds authored
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Au1000: set the PCI controller IO base [MIPS] Alchemy: Fix USB initialization. [MIPS] IP32: Fix fatal typo in address computation.
-
Trond Myklebust authored
The recent fix for a circular lock dependency unfortunately introduced a potential memory leak in the event where the call to nlmsvc_lookup_host fails for some reason. Thanks to Roel Kluin for spotting this. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Jeff Garzik authored
The recent mv_fill_sg() rewrite, to fix a data corruption problem related to IOMMU virtual merging, forgot to account for the potentially-increased size of the scatter/gather table after its run. Additionally, the DMA boundary is reduced from 0xffffffff to 0xffff to more closely match the needs of mv_fill_sg(). Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Florian Fainelli authored
The PCI controller IO base was not set in the au1000 pci code. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Florian Fainelli authored
This patch fixes a wrong ifdef in the board setup code, leading to the GPIO pin not being pulled high, and thus the USB switch not being powered at all. This finishes the rename of CONFIG_USB_OHCI to CONFIG_USB_OHCI_HCD, which started in 2005 (before 2.6.12-rc2), then probably because things were working anyway for most people got forgotten. [Ralf: Paolo's original patch didn't fix the module case, Florian's patch only fixed MTX1 etc. so this is a combined patch plus some cleanups.] Cc: Giuseppe Patanè <giuseppe.patane@tvblob.com> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
Giuseppe Sacco authored
Signed-off-by: Giuseppe Sacco <eppesuig@debian.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
- 08 Oct, 2007 9 commits
-
-
Maarten Bressers authored
When building a custom keymap, after setting GENERATE_KEYMAP := 1 in drivers/char/Makefile, the kernel build fails like this: CC drivers/char/vt.o make[2]: *** No rule to make target `drivers/char/%.map', needed by `drivers/char/defkeymap.c'. Stop. make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 This was caused by commit af8b1287, which deleted a necessary colon from the Makefile rule that generates the keymap, since that rule contains both a target and a target-pattern. The following patch puts the colon back: Signed-off-by: Maarten Bressers <mbres@gentoo.org> Cc: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Karsten Keil authored
Fix against access random data bytes outside the dev->chanmap array. Thanks to Oliver Neukum for pointing me to this issue. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Linus Torvalds authored
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [IPv6]: Fix ICMPv6 redirect handling with target multicast address [PKT_SCHED] cls_u32: error code isn't been propogated properly [ROSE]: Fix rose.ko oops on unload [TCP]: Fix fastpath_cnt_hint when GSO skb is partially ACKed
-
Yan Zheng authored
When IOCB_FLAG_RESFD flag is set and iocb->aio_resfd is incorrect, statement 'goto out_put_req' is executed. At label 'out_put_req', aio_put_req(..) is called, which requires 'req->ki_filp' set. Signed-off-by: Yan Zheng<yanzheng@21cn.com> Cc: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Yan Zheng authored
find_lock_page increases page's usage count, we should decrease it before return VM_FAULT_SIGBUS Signed-off-by: Yan Zheng<yanzheng@21cn.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Yan Zheng authored
The test for VM_CAN_NONLINEAR always fails Signed-off-by: Yan Zheng<yanzheng@21cn.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Peter Zijlstra authored
All the current page_mkwrite() implementations also set the page dirty. Which results in the set_page_dirty_balance() call to _not_ call balance, because the page is already found dirty. This allows us to dirty a _lot_ of pages without ever hitting balance_dirty_pages(). Not good (tm). Force a balance call if ->page_mkwrite() was successful. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Brian Haley authored
When the ICMPv6 Target address is multicast, Linux processes the redirect instead of dropping it. The problem is in this code in ndisc_redirect_rcv(): if (ipv6_addr_equal(dest, target)) { on_link = 1; } else if (!(ipv6_addr_type(target) & IPV6_ADDR_LINKLOCAL)) { ND_PRINTK2(KERN_WARNING "ICMPv6 Redirect: target address is not link-local.\n"); return; } This second check will succeed if the Target address is, for example, FF02::1 because it has link-local scope. Instead, it should be checking if it's a unicast link-local address, as stated in RFC 2461/4861 Section 8.1: - The ICMP Target Address is either a link-local address (when redirected to a router) or the same as the ICMP Destination Address (when redirected to the on-link destination). I know this doesn't explicitly say unicast link-local address, but it's implied. This bug is preventing Linux kernels from achieving IPv6 Logo Phase II certification because of a recent error that was found in the TAHI test suite - Neighbor Disovery suite test 206 (v6LC.2.3.6_G) had the multicast address in the Destination field instead of Target field, so we were passing the test. This won't be the case anymore. The patch below fixes this problem, and also fixes ndisc_send_redirect() to not send an invalid redirect with a multicast address in the Target field. I re-ran the TAHI Neighbor Discovery section to make sure Linux passes all 245 tests now. Signed-off-by: Brian Haley <brian.haley@hp.com> Acked-by: David L Stevens <dlstevens@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-