21 May, 2011

1 commit

  • Commit e66eed651fd1 ("list: remove prefetching from regular list
    iterators") removed the include of prefetch.h from list.h, which
    uncovered several cases that had apparently relied on that rather
    obscure header file dependency.

    So this fixes things up a bit, using

    grep -L linux/prefetch.h $(git grep -l '[^a-z_]prefetchw*(' -- '*.[ch]')
    grep -L 'prefetchw*(' $(git grep -l 'linux/prefetch.h' -- '*.[ch]')

    to guide us in finding files that either need
    inclusion, or have it despite not needing it.

    There are more of them around (mostly network drivers), but this gets
    many core ones.

    Reported-by: Stephen Rothwell
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

16 Mar, 2011

1 commit


23 Oct, 2010

1 commit

  • To accomplish this the function to register a gadget driver takes the bind
    function as a second argument. To make things clearer rename the function
    to resemble platform_driver_probe.

    This fixes many section mismatches like

    WARNING: drivers/usb/gadget/g_printer.o(.data+0xc): Section mismatch in
    reference from the variable printer_driver to the function
    .init.text:printer_bind()
    The variable printer_driver references
    the function __init printer_bind()

    All callers are fixed.

    Signed-off-by: Uwe Kleine-König
    [m.nazarewicz@samsung.com: added dbgp]
    Signed-off-by: Michał Nazarewicz
    Signed-off-by: Greg Kroah-Hartman

    Uwe Kleine-König
     

02 Mar, 2010

1 commit


23 Sep, 2009

1 commit

  • This adds very basic otg_transceiver support, with vbus_session
    and vbus_draw callbacks.

    Now VBUS sensing can be handled by an external driver which registers
    the otg_transceiver interface. It also allows gadget drivers to configure
    the current drawn from VBUS. The UDC driver just passes their requests
    along to the transceiver driver.

    Signed-off-by: Philipp Zabel
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Philipp Zabel
     

13 Jul, 2009

2 commits


19 Feb, 2009

1 commit


08 Jan, 2009

1 commit

  • Some code in the pxa25x_udc driver wrongly expects the value
    of is_vbus_present() to be 0/1, not zero/nonzero ... cope.
    Issue noted by Jaya Kumar

    This bug has been around since July 2007, and has a simple
    workaround: unplug the Linux gadget, then re-plug it.

    Signed-off-by: David Brownell
    Cc: Jaya Kumar
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

07 Jan, 2009

1 commit


28 Nov, 2008

1 commit


27 Nov, 2008

1 commit


23 Nov, 2008

1 commit

  • the use of is_blah() suggests a 1 or 0 return. This assumption is made in
    pxa25x_udc code such as:
    dev->vbus = is_vbus_present();
    where dev->vbus is a bitfield. This fix allows pxa25x_udc_probe to correctly
    detect vbus. Other changes were to make its use consistent in the rest of
    the code.

    Signed-off-by: Jaya Kumar
    Signed-off-by: Russell King

    Jaya Kumar
     

07 Aug, 2008

1 commit


26 Jul, 2008

1 commit

  • We want to use WARN() as a variant of WARN_ON(), however a few drivers are
    using WARN() internally. This patch renames these to WARNING() to avoid the
    namespace clash. A few cases were defining but not using the thing, for those
    cases I just deleted the definition.

    Signed-off-by: Arjan van de Ven
    Acked-by: Greg KH
    Cc: Karsten Keil
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

24 Jul, 2008

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (85 commits)
    [ARM] pxa: add base support for PXA930 Handheld Platform (aka SAAR)
    [ARM] pxa: add base support for PXA930 Evaluation Board (aka TavorEVB)
    [ARM] pxa: add base support for PXA930 (aka Tavor-P)
    [ARM] Update mach-types
    [ARM] pxa: make littleton to use the new smc91x platform data
    [ARM] pxa: make zylonite to use the new smc91x platform data
    [ARM] pxa: make mainstone to use the new smc91x platform data
    [ARM] pxa: make lubbock to use new smc91x platform data
    [NET] smc91x: prepare SMC_USE_PXA_DMA to be specified in platform data
    [NET] smc91x: prepare for SMC_IO_SHIFT to be a platform configurable variable
    [NET] smc91x: add SMC91X_NOWAIT flag to platform data
    [NET] smc91x: favor the use of SMC91X_USE_* instead of SMC_CAN_USE_*
    [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata"
    [ARM] 5146/1: pxa2xx: convert all boards to call pxa2xx_transceiver_mode helper
    Support for LCD on e740 e750 e400 and e800 e-series PDAs
    E-series UDC support
    PXA UDC - allow use of inverted GPIO for pullup
    Add e350 support
    Fix broken e-series build
    E-series GPIO / IRQ definitions.
    ...

    Linus Torvalds
     

22 Jul, 2008

1 commit


11 Jul, 2008

1 commit


10 Jul, 2008

1 commit

  • The pxa2xx_udc.c driver is renamed to pxa25x_udc.c (the platform
    driver name changes from pxa2xx-udc to pxa25x-udc) and the
    platform driver name of pxa27x_udc.c is fixed to pxa27x-udc.
    pxa_device_udc in devices.c is split into pxa25x and pxa27x flavors
    and the pxa27x_device_udc is enabled in pxa27x.c.

    Signed-off-by: Philipp Zabel
    Acked-by: Nicolas Pitre
    Acked-by: Eric Miao
    Signed-off-by: Russell King

    Including from Ian Molton:

    Fixes for mistakes left over from the PXA2{5,7}X UDC split.

    Signed-off-by: Ian Molton
    Signed-off-by: Russell King

    Philipp Zabel