20 Oct, 2011

1 commit


14 Oct, 2011

15 commits

  • Resolves lots of sparse warnings:

    arch/arm/mach-tegra/devices.c:102:24: warning: symbol 'tegra_i2c_device1' was not declared. Should it be static?
    arch/arm/mach-tegra/devices.c:112:24: warning: symbol 'tegra_i2c_device2' was not declared. Should it be static?
    arch/arm/mach-tegra/devices.c:122:24: warning: symbol 'tegra_i2c_device3' was not declared. Should it be static?
    arch/arm/mach-tegra/devices.c:132:24: warning: symbol 'tegra_i2c_device4' was not declared. Should it be static?
    [...]

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren

    Olof Johansson
     
  • Two static functions that are not exported:

    arch/arm/mach-tegra/cpu-tegra.c:59:5: warning: symbol 'tegra_verify_speed' was not declared. Should it be static?
    arch/arm/mach-tegra/cpu-tegra.c:64:14: warning: symbol 'tegra_getspeed' was not declared. Should it be static?

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Type fix:
    arch/arm/mach-tegra/cpu-tegra.c:144:14: warning: incorrect type in argument 5 (different signedness)
    arch/arm/mach-tegra/cpu-tegra.c:144:14: expected unsigned int *index
    arch/arm/mach-tegra/cpu-tegra.c:144:14: got int *

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • None of them are used externally.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Not used externally, and certainly don't need to be exported.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Not exported and not used externally.

    Also, fix return type. Due to new return type, errors can't be returned
    so WARN_ON instead of returning error if a bad parameter is specified.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Not exported and not used externally.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Not exported and not used externally.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes:

    arch/arm/mach-tegra/pcie.c:465:10: warning: Using plain integer as NULL pointer

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes:

    arch/arm/mach-tegra/pcie.c:908:12: warning: symbol 'tegra_pcie_init' was not declared. Should it be static?

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes a lot of:

    arch/arm/mach-tegra/pcie.c:678:8: warning: cast removes address space of expression
    arch/arm/mach-tegra/pcie.c:678:8: warning: incorrect type in argument 1 (different base types)
    arch/arm/mach-tegra/pcie.c:678:8: expected void const volatile [noderef] *
    arch/arm/mach-tegra/pcie.c:678:8: got unsigned int
    arch/arm/mach-tegra/pcie.c:678:8: warning: cast removes address space of expression

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes a lot of:

    arch/arm/mach-tegra/tegra2_clocks.c:921:34: warning: Using plain integer as NULL pointer
    arch/arm/mach-tegra/tegra2_clocks.c:1462:4: warning: Using plain integer as NULL pointer
    arch/arm/mach-tegra/tegra2_clocks.c:1864:4: warning: Using plain integer as NULL pointer

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes a lot of:

    arch/arm/mach-tegra/tegra2_clocks.c:180:2: warning: cast removes address space of expression
    arch/arm/mach-tegra/tegra2_clocks.c:180:2: warning: incorrect type in argument 1 (different base types)
    arch/arm/mach-tegra/tegra2_clocks.c:180:2: expected void const volatile [noderef] *
    arch/arm/mach-tegra/tegra2_clocks.c:180:2: got unsigned int
    arch/arm/mach-tegra/tegra2_clocks.c:180:2: warning: cast removes address space of expression

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Fixes a lot of:

    arch/arm/mach-tegra/timer.c:75:2: warning: cast removes address space of expression
    arch/arm/mach-tegra/timer.c:75:2: warning: incorrect type in argument 1 (different base types)
    arch/arm/mach-tegra/timer.c:75:2: expected void const volatile [noderef] *
    arch/arm/mach-tegra/timer.c:75:2: got unsigned int
    arch/arm/mach-tegra/timer.c:75:2: warning: cast removes address space of expression

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     
  • Provide __iomem annotation for IO_*_VIRT pointers, which will propagate
    up through IO_TO_VIRT(). Also fixes a 0 to NULL conversion of the base
    case to silence sparse.

    Unfortunately map_desc takes an unsigned long for the pointer instead of
    a void __iomem *. For now, cast explicitly for those cases.

    v2: change define to use IOMEM() like many other mach platforms per
    comment from Russell.

    Signed-off-by: Olof Johansson
    Acked-by: Stephen Warren
    Acked-by: Arnd Bergmann

    Olof Johansson
     

09 Oct, 2011

2 commits


08 Oct, 2011

2 commits


05 Oct, 2011

12 commits

  • Linus Torvalds
     
  • * git://github.com/davem330/net:
    pch_gbe: Fixed the issue on which a network freezes
    pch_gbe: Fixed the issue on which PC was frozen when link was downed.
    make PACKET_STATISTICS getsockopt report consistently between ring and non-ring
    net: xen-netback: correctly restart Tx after a VM restore/migrate
    bonding: properly stop queuing work when requested
    can bcm: fix incomplete tx_setup fix
    RDSRDMA: Fix cleanup of rds_iw_mr_pool
    net: Documentation: Fix type of variables
    ibmveth: Fix oops on request_irq failure
    ipv6: nullify ipv6_ac_list and ipv6_fl_list when creating new socket
    cxgb4: Fix EEH on IBM P7IOC
    can bcm: fix tx_setup off-by-one errors
    MAINTAINERS: tehuti: Alexander Indenbaum's address bounces
    dp83640: reduce driver noise
    ptp: fix L2 event message recognition

    Linus Torvalds
     
  • * 'fix/asoc' of git://github.com/tiwai/sound:
    ASoC: omap_mcpdm_remove cannot be __devexit
    ASoC: Fix setting update bits for WM8753_LADC and WM8753_RADC
    ASoC: use a valid device for dev_err() in Zylonite

    Linus Torvalds
     
  • * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
    drm/radeon/kms: fix channel_remap setup (v2)
    drm/radeon: Set cursor x/y to 0 when x/yorigin > 0.
    drm/radeon: Update AVIVO cursor coordinate origin before x/yorigin calculation.
    drm/radeon: Simplify cursor x/yorigin calculation.
    drm/radeon/kms: fix cursor image off-by-one error
    drm/radeon/kms: Fix logic error in DP HPD handler
    drm/radeon/kms: add retry limits for native DP aux defer
    drm/radeon/kms: fix regression in DP aux defer handling

    Linus Torvalds
     
  • * 'spi/merge' of git://git.secretlab.ca/git/linux-2.6:
    spi-topcliff-pch: Fix overrun issue
    spi-topcliff-pch: Add recovery processing in case FIFO overrun error occurs
    spi-topcliff-pch: Fix CPU read complete condition issue
    spi-topcliff-pch: Fix SSN Control issue
    spi-topcliff-pch: add tx-memory clear after complete transmitting

    Linus Torvalds
     
  • Add the ability to disable PCI-E MPS turning and using the BIOS
    configured MPS defaults. Due to the number of issues recently
    discovered on some x86 chipsets, make this the default behavior.

    Also, add the option for peer to peer DMA MPS configuration. Peer to
    peer DMA is outside the scope of this patch, but MPS configuration could
    prevent it from working by having the MPS on one root port different
    than the MPS on another. To work around this, simply make the system
    wide MPS the smallest possible value (128B).

    Signed-off-by: Jon Mason
    Acked-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Jon Mason
     
  • Most asics just use the hw default value which requires
    no explicit programming. For those that need a different
    value, the vbios will program it properly. As such,
    there's no need to program these registers explicitly
    in the driver. Changing MC_SHARED_CHREMAP requires a reload
    of all data in vram otherwise its contents will be scambled.

    Fixes:
    https://bugs.freedesktop.org/show_bug.cgi?id=40103

    v2: drop now unused channel_remap functions.

    Signed-off-by: Alex Deucher
    Reviewed-by: Michel Dänzer
    Cc: stable@kernel.org
    Signed-off-by: Dave Airlie

    Alex Deucher
     
  • We found that adding load, Rx data sometimes drops.(with DMA transfer mode)
    The cause is that before starting Rx-DMA processing, Tx-DMA processing starts.
    This causes FIFO overrun occurs.

    This patch fixes the issue by modifying FIFO tx-threshold and DMA descriptor
    size like below.

    Current this patch
    Rx-descriptor 4Byte+12Byte*341 --> 12Byte*340-4Byte-12Byte
    Rx-threshold (Not modified)
    Tx-descriptor 4Byte+12Byte*341 --> 16Byte-12Byte*340
    Rx-threshold 12Byte --> 2Byte

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     
  • Add recovery processing in case FIFO overrun error occurs with DMA transfer mode.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     
  • We found Rx data sometimes drops.(with non-DMA transfer mode)
    The cause is read complete condition is not true.

    This patch fixes the issue.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     
  • During processing 1 command/data series,
    SSN should keep LOW.
    However, currently, SSN becomes HIGH.
    This patch fixes the issue.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     
  • Currently, in case of reading date from SPI flash,
    command is sent twice.
    The cause is that tx-memory clear processing is missing .
    This patch adds the tx-momory clear processing.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Grant Likely

    Tomoya MORINAGA
     

04 Oct, 2011

8 commits