10 Dec, 2011

2 commits

  • msm_hs_handle_delta_cts tries to acquire port->lock already acquired
    by the callee function msm_hs_isr. Change function name to follow
    "_locked" convention.

    Signed-off-by: Mayank Rana
    Signed-off-by: Greg Kroah-Hartman

    Mayank Rana
     
  • Both tx and rx command_ptr_ptr are of type u32*. While allocating
    memory for it, sizeof(u32 *) is used as part of kmalloc API instead
    of sizeof(u32). ADM Hardare requires size of command_ptr_ptr as 1 Word.
    Both sizeof(u32 *) and sizeof(u32) are same on 32-bit architecture
    whereas sizeof(u32 *) would be different in size compare to sizeof(u32)
    on anyother architecture.

    Hence correct usage of sizeof(command_ptr_ptr) for Tx and Rx with
    kmalloc and dma_(map/unmap)_single APIs.

    Signed-off-by: Mayank Rana
    Reported-by: Ilia Mirkin
    Signed-off-by: Greg Kroah-Hartman

    Mayank Rana
     

23 Sep, 2011

1 commit

  • linux/tty_flip.h is included in linux/serial_core.h. But this may (and
    will) change in the future. Then we would get build errors such as:
    .../tty/serial/max3107.c: In function ‘put_data_to_circ_buf’:
    .../tty/serial/max3107.c:149:2: error: implicit declaration of function ‘tty_insert_flip_string’

    So fix all the drviers which call tty flip buffer helpers to really
    include linux/tty_flip.h. And also make sure that those include
    linux/tty.h when operating with struct tty_struct.

    Signed-off-by: Jiri Slaby
    Cc: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Jiri Slaby
     

31 Mar, 2011

1 commit


29 Mar, 2011

1 commit


08 Mar, 2011

1 commit

  • This driver supports UART-DM HW on MSM platforms. It uses the on
    chip DMA to drive data transfers and has optional support for UART
    power management independent of Linux suspend/resume and wakeup
    from Rx.

    The driver was originally developed by Google. It is functionally
    equivalent to the version available at:
    http://android.git.kernel.org/?p=kernel/experimental.git
    the differences being:
    1) Remove wakelocks and change unsupported DMA API.
    2) Replace clock selection register codes by macros.
    3) Fix checkpatch errors and add inline documentation.
    4) Add runtime PM hooks for active power state transitions.
    5) Handle error path and cleanup resources if required.

    CC: Nick Pelly
    Signed-off-by: Sankalp Bose
    Signed-off-by: Mayank Rana
    Signed-off-by: Greg Kroah-Hartman

    Mayank Rana