22 May, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire: sbp2: parallelize login, reconnect, logout
    firewire: sbp2: octlet AT payloads can be stack-allocated
    firewire: sbp2: omit Scsi_Host lock from queuecommand
    firewire: core: use non-reentrant workqueue with rescuer
    firewire: optimize iso queueing by setting wake only after the last packet
    firewire: octlet AT payloads can be stack-allocated
    firewire: ohci: optimize find_branch_descriptor()
    firewire: ohci: avoid separate DMA mapping for small AT payloads
    firewire: ohci: do not start DMA contexts before link is enabled

    Linus Torvalds
     

13 May, 2011

1 commit


11 May, 2011

2 commits

  • When queueing iso packets, the run time is dominated by the two
    MMIO accesses that set the DMA context's wake bit. Because most
    drivers submit packets in batches, we can save much time by
    removing all but the last wakeup.

    The internal kernel API is changed to require a call to
    fw_iso_context_queue_flush() after a batch of queued packets.
    The user space API does not change, so one call to
    FW_CDEV_IOC_QUEUE_ISO must specify multiple packets to take
    advantage of this optimization.

    In my measurements, this patch reduces the time needed to queue
    fifty skip packets from userspace to one sixth on a 2.5 GHz CPU,
    or to one third at 800 MHz.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Stefan Richter

    Clemens Ladisch
     
  • We do not need slab allocations anymore in order to satisfy
    streaming DMA mapping constraints, thanks to commit da28947e7e36
    "firewire: ohci: avoid separate DMA mapping for small AT payloads".

    (Besides, the slab-allocated buffers that firewire-core, firewire-sbp2,
    and firedtv used to provide for 8-byte write and lock requests were
    still not fully portable since they crossed cacheline boundaries or
    shared a cacheline with unrelated CPU-accessed data. snd-firewire-lib
    got this aspect right by using an extra kmalloc/ kfree just for the
    8-byte transaction buffer.)

    This change replaces kmalloc'ed lock transaction scratch buffers in
    firewire-core, firedtv, and snd-firewire-lib by local stack allocations.
    Perhaps the most notable result of the change is simpler locking because
    there is no need to serialize usages of preallocated per-device buffers
    anymore. Also, allocations and deallocations are simpler.

    Signed-off-by: Stefan Richter
    Acked-by: Clemens Ladisch

    Stefan Richter
     

10 May, 2011

2 commits


08 May, 2011

4 commits


04 May, 2011

3 commits


03 May, 2011

1 commit


02 May, 2011

2 commits


29 Apr, 2011

3 commits


28 Apr, 2011

3 commits


27 Apr, 2011

2 commits


26 Apr, 2011

4 commits

  • The current davinci_mcasp_set_dai_fmt() sets bits ACLKX and ACLKR in the PDIR
    register for the codec clock-master/frame-slave mode; however, this results in
    the ACLKX and ACLKR pins being outputs according to SPRUFM1 [1] which
    conflicts with "codec is clock master."

    Similarly to the previous patch in this series, "fix _CBM_CFS hw_params" --
    For codec clock-master/frame-slave mode (_CMB_CFS), clear bits ACLKX and ACLKR
    in the PDIR register to set the pins as inputs and hence allow externally
    sourced bit-clocks.

    [1] http://www.ti.com/litv/pdf/sprufm1

    Signed-off-by: Ben Gardiner
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current davinci_mcasp_set_dai_fmt() sets bits ACLKXE and ACLKRE (CLKXM
    and CLKRM as they are reffered to in SPRUFM1 [1]) for codec clock-slave/
    frame-slave mode (_CBS_CFS) which selects internally generated bit-clock and
    frame-sync signals; however, it does the same thing again for codec
    clock-master/frame-slave mode (_CBM_CFS) in the very next case statement which
    is incorrectly selecting internally generated bit-clocks in this mode.

    For codec clock-master/frame-slave mode (_CBM_CFS), clear bits ACLKXE and
    ACLKRE to select externally-generated bit-clocks.

    [1] http://www.ti.com/litv/pdf/sprufm1

    Signed-off-by: Ben Gardiner
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current driver creates value for set/clr of PDIR using (x<
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     
  • The current check for the number of tdm-slots specified by platform data is
    always true (x >= 2 || x
    Reviewed-by: James Nuss
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Ben Gardiner
     

21 Apr, 2011

2 commits


19 Apr, 2011

3 commits


14 Apr, 2011

1 commit

  • Commit ce6120cc(ASoC: Decouple DAPM from CODECs) changed the signature of
    snd_soc_dapm_widgets_new to take an pointer to a snd_soc_dapm_context instead of
    a snd_soc_codec. The call to snd_soc_dapm_widgets_new in jz4740_codec_dev_probe
    was not updated to reflect this change, which results in a compiletime warning
    and a runtime OOPS.

    Since the core code calls snd_soc_dapm_widgets_new after the codec has been
    registered it can be dropped here.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown
    Cc: stable@kernel.org

    Lars-Peter Clausen
     

12 Apr, 2011

6 commits