29 Mar, 2011

1 commit


27 Mar, 2011

1 commit


25 Mar, 2011

1 commit

  • * 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-block: (65 commits)
    Documentation/iostats.txt: bit-size reference etc.
    cfq-iosched: removing unnecessary think time checking
    cfq-iosched: Don't clear queue stats when preempt.
    blk-throttle: Reset group slice when limits are changed
    blk-cgroup: Only give unaccounted_time under debug
    cfq-iosched: Don't set active queue in preempt
    block: fix non-atomic access to genhd inflight structures
    block: attempt to merge with existing requests on plug flush
    block: NULL dereference on error path in __blkdev_get()
    cfq-iosched: Don't update group weights when on service tree
    fs: assign sb->s_bdi to default_backing_dev_info if the bdi is going away
    block: Require subsystems to explicitly allocate bio_set integrity mempool
    jbd2: finish conversion from WRITE_SYNC_PLUG to WRITE_SYNC and explicit plugging
    jbd: finish conversion from WRITE_SYNC_PLUG to WRITE_SYNC and explicit plugging
    fs: make fsync_buffers_list() plug
    mm: make generic_writepages() use plugging
    blk-cgroup: Add unaccounted time to timeslice_used.
    block: fixup plugging stubs for !CONFIG_BLOCK
    block: remove obsolete comments for blkdev_issue_zeroout.
    blktrace: Use rq->cmd_flags directly in blk_add_trace_rq.
    ...

    Fix up conflicts in fs/{aio.c,super.c}

    Linus Torvalds
     

10 Mar, 2011

1 commit

  • Convert two staging drivers - blkvsc_drv and cyasblkdev_block - from
    ->media_changed() to ->check_events(). The former always indicated
    media changed while the latter always indicated media not changed.
    Not sure what the drivers are trying to achieve but keep the original
    behavior.

    Signed-off-by: Tejun Heo
    Acked-by: Greg Kroah-Hartman
    Cc: Jens Axboe
    Cc: Kay Sievers

    Tejun Heo
     

01 Mar, 2011

1 commit


19 Feb, 2011

2 commits


05 Feb, 2011

1 commit


26 Jan, 2011

1 commit


22 Jan, 2011

1 commit

  • Use -E... instead of just E... in a few places where negative error
    codes are expected by a functions callers. These were found by grepping
    with coccinelle & then inspecting by hand to determine which were bugs.

    The staging/cxt1e1 driver appears to intentionally use positive E...
    error codes in some places, and negative -E... error codes in others,
    making it hard to know which is intended where - very likely I missed
    some problems in that driver.

    Signed-off-by: Ralph Loader
    Signed-off-by: Greg Kroah-Hartman

    Ralph Loader
     

17 Nov, 2010

1 commit


10 Nov, 2010

2 commits

  • … from alloc functions

    In
    drivers/staging/westbridge/astoria/arch/arm/mach-omap2/cyashalomap_kernel.c
    the local variables 'ret_p' are not needed and should just go away.

    I have no way to test this code, but I believe the change is obviously
    correct. Please consider it.

    Signed-off-by: Jesper Juhl <jj@chaosbits.net>
    Acked-by: David Cross <david.cross@cypress.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    Jesper Juhl
     
  • Delete successive assignments to the same location. In three of the cases,
    the two assignments are identical. In the case of the file
    rt2860/common/cmm_aes.c, the assigned variable i is never used, so both
    assignments are dropped.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression i;
    @@

    *i = ...;
    i = ...;
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Greg Kroah-Hartman

    Julia Lawall
     

30 Oct, 2010

1 commit


06 Oct, 2010

3 commits


30 Sep, 2010

2 commits

  • This patch fixes removes all of the the " ;"'s in the west bridge driver
    and instead replaces them with ";" only. Although this is a large patch,
    this is the only thing that it does. I can break it up on a file basis
    if needed.

    Signed-off-by: David Cross
    Signed-off-by: Greg Kroah-Hartman

    David Cross
     
  • This patch fixes the west bridge cyasgadget driver in order to allow for
    compilation against the linux-next tree. This changes
    usb_gadget_register_driver to usb_gadget_probe_driver and updates this
    function based on the new function definition (bind call).

    Signed-off-by: David Cross
    Signed-off-by: Greg Kroah-Hartman

    David Cross
     

15 Sep, 2010

4 commits


06 Sep, 2010

1 commit


31 Aug, 2010

2 commits

  • Future patches should fix this up.

    Cc: David Cross
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This is a driver for the Cypress West Bridge companion chip. Its
    function is analogous to the North/South Bridges of PC environments
    applied to embedded devices, in that it expands I/O and storage
    capabilities of an embedded processor. The Astoria version, which this
    driver applies to, functions as a USB, embedded memory and SDIO
    controller. The kernel that this patch was applied to is linux-2.6.35,
    although it was tested using the android kernel 2.6.29 running on the
    Zoom 2 platform. In this system, it was used primarily as a sideloading
    accelerator enabling direct data transfers between a USB host PC and
    embedded memory without system overheads. Minor modifications were also
    made to the kernel for this patch. These include changes such as
    EXPORTing of fat_get_block in the kernel code. Another function,
    mpage_cleardirty was also added to the memory management code. This
    function is used to clear the dirty pages from a specific inode. This
    allows for direct, file based DMA. None of these changes are believed to
    have any negative impact on the kernel and may provide additional
    benefit for other developers and drivers.

    The driver, as submitted, was placed into the drivers/staging/westbridge
    folder as the directory structure it will eventually reside in is not yet
    defined. The driver, as placed in staging is divided into four parts:
    1) gadget - this implements a gadget peripheral controller and includes IOCTLs
    for MTP transfers
    2) block -this implements a generic block device driver to enable access to
    embedded memory
    3) api -this is the Cypress SDK, and includes USB and Storage specific
    functions. In addition, it includes common code for low level routines such as
    message passing and common data transfer routines
    4) hal - this should likely be included in the arch directory as it needs to
    be modified for a given platform. The directory structure in the staging area
    is meant to reflect the eventual location of where this code likely should be.
    It is platform specific. In this case, the HAL included is for the Android
    Zoom 2 platform. Here, West Bridge is connected to the GPMC (general purpose
    memory controller) of the OMAP3. Specific timing needs to be enabled to ensure
    reliable communication.
    Many thanks to Greg KH for conducting initial reviews and providing pointers.
    Please contact david.cross@cypress.com for questions, concerns or feedback.

    Signed-off-by: David Cross
    Signed-off-by: Greg Kroah-Hartman

    David Cross