Permalink
Switch branches/tags
Commits on Dec 15, 2009
  1. mfd: compile fix for twl4030 renaming

    Stephen Rothwell committed with torvalds Dec 15, 2009
    Caused by commit 0b83dde ("MFD:
    twl4030: add twl4030_codec MFD as a new child to the core") interacting
    with commit b07682b ("mfd: Rename
    twl4030* driver files to enable re-use").
    
    This file seems to have been missed in the renaming.
    
    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
    Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  2. Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs

    torvalds committed Dec 15, 2009
    * 'for-linus' of git://oss.sgi.com/xfs/xfs:
      xfs: event tracing support
      xfs: change the xfs_iext_insert / xfs_iext_remove
      xfs: cleanup bmap extent state macros
  3. Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm

    torvalds committed Dec 15, 2009
    * git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm: (80 commits)
      dm snapshot: use merge origin if snapshot invalid
      dm snapshot: report merge failure in status
      dm snapshot: merge consecutive chunks together
      dm snapshot: trigger exceptions in remaining snapshots during merge
      dm snapshot: delay merging a chunk until writes to it complete
      dm snapshot: queue writes to chunks being merged
      dm snapshot: add merging
      dm snapshot: permit only one merge at once
      dm snapshot: support barriers in snapshot merge target
      dm snapshot: avoid allocating exceptions in merge
      dm snapshot: rework writing to origin
      dm snapshot: add merge target
      dm exception store: add merge specific methods
      dm snapshot: create function for chunk_is_tracked wait
      dm snapshot: make bio optional in __origin_write
      dm mpath: reject messages when device is suspended
      dm: export suspended state to targets
      dm: rename dm_suspended to dm_suspended_md
      dm: swap target postsuspend call and setting suspended flag
      dm crypt: add plain64 iv
      ...
  4. Merge branch 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block

    torvalds committed Dec 15, 2009
    * 'for-2.6.33' of git://git.kernel.dk/linux-2.6-block:
      cfq: set workload as expired if it doesn't have any slice left
      Fix a CFQ crash in "for-2.6.33" branch of block tree
      cfq: Remove wait_request flag when idle time is being deleted
      cfq-iosched: commenting non-obvious initialization
      cfq-iosched: Take care of corner cases of group losing share due to deletion
      cfq-iosched: Get rid of cfqq wait_busy_done flag
      cfq: Optimization for close cooperating queue searching
      block,xd: Delay allocation of DMA buffers until device is known
      drbd: Following the hmac change to SHASH (see linux commit 8bd1209)
      cfq-iosched: reduce write depth only if sync was delayed
  5. Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…

    torvalds committed Dec 15, 2009
    …/git/tiwai/sound-2.6
    
    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
      ALSA: ac97_codec - increase timeout for analog sections to 5 second
      ASoC: Correct code taking the size of a pointer
      ALSA: hda - Add PCI IDs for Nvidia G2xx-series
      ALSA: sound/isa/gus: Correct code taking the size of a pointer
      ALSA: hda: Fix max PCM level to 0 dB for AD1981_HP
      ALSA: hda: Use ALC260_WILL quirk for another Acer model (0x1025007f)
  6. Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm…

    torvalds committed Dec 15, 2009
    …/linux/kernel/git/tip/linux-2.6-tip
    
    * 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (26 commits)
      clockevents: Convert to raw_spinlock
      clockevents: Make tick_device_lock static
      debugobjects: Convert to raw_spinlocks
      perf_event: Convert to raw_spinlock
      hrtimers: Convert to raw_spinlocks
      genirq: Convert irq_desc.lock to raw_spinlock
      smp: Convert smplocks to raw_spinlocks
      rtmutes: Convert rtmutex.lock to raw_spinlock
      sched: Convert pi_lock to raw_spinlock
      sched: Convert cpupri lock to raw_spinlock
      sched: Convert rt_runtime_lock to raw_spinlock
      sched: Convert rq->lock to raw_spinlock
      plist: Make plist debugging raw_spinlock aware
      bkl: Fixup core_lock fallout
      locking: Cleanup the name space completely
      locking: Further name space cleanups
      alpha: Fix fallout from locking changes
      locking: Implement new raw_spinlock
      locking: Convert raw_rwlock functions to arch_rwlock
      locking: Convert raw_rwlock to arch_rwlock
      ...
  7. Merge git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32…

    torvalds committed Dec 15, 2009
    …-2.6
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6:
      avr32: update default configurations for ATNGW100, ATSTK1002 and ATSTK1006
      avr32: add default configurations for ATNGW100 mkII and EVKLCD10X
      avr32: add support for ATNGW100 mkII board
      avr32: convert to asm-generic/hardirq.h
      avr32: add two new at91 to cpu.h definition
      avr32: clean up linker script using standard macros.
      avr32: MRMT: correct setup of SPI slaves
      avr32: function for independently setting up SPI slaves
      avr32: re-instate MCI WP/CD pin assignments for ATNGW100
  8. Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6

    torvalds committed Dec 15, 2009
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
      sparc64: Fix clock event multiplier printf format.
      sparc64: Use clock{source,events}_calc_mult_shift().
      sparc64: Use free_bootmem_late() in mdesc_lmb_free().
      sparc: Add alignment and emulation fault perf events.
      sparc64: Add syscall tracepoint support.
      sparc: Stop trying to be so fancy and use __builtin_{memcpy,memset}()
      sparc: Use __builtin_object_size() to validate the buffer size for copy_from_user()
      sparc64: Add some missing __kprobes annotations to kernel fault paths.
      sparc64: Use kprobes_built_in() to avoid ifdefs in fault_64.c
      sparc: Validate that kprobe address is 4-byte aligned.
      sparc64: Don't specify IRQF_SHARED for LDC interrupts.
      sparc64: Fix stack debugging IRQ stack regression.
      sparc64: Fix overly strict range type matching for PCI devices.
  9. Merge git://git.infradead.org/battery-2.6

    torvalds committed Dec 15, 2009
    * git://git.infradead.org/battery-2.6:
      power_supply_sysfs: Handle -ENODATA in a special way
      wm831x_backup: Remove unused variables
      gta02: Set pcf50633 charger_reference_current_ma
      pcf50633: Query charger status directly
      pcf50633: Properly reenable charging when the supply conditions change
      pcf50633: Get rid of charging restart software auto-triggering
      pcf50633: introduces battery charging current control
      pcf50633: Add ac power supply class to the charger
      wm831x: Factor out WM831x backup battery charger
  10. Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6

    torvalds committed Dec 15, 2009
    * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
      USB: Close usb_find_interface race v3
      Revert "USB: Close usb_find_interface race"
  11. lis3: update documentation to match latest changes

    Samu Onkalo committed with torvalds Dec 15, 2009
    [akpm@linux-foundation.org: s/q/g/ (Randy)]
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <Eric.Piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  12. lis3: scale output values to mg

    Samu Onkalo committed with torvalds Dec 15, 2009
    Report output values as 1/1000 of earth gravity.
    
    Output values from lis3 can be read from sysfs position entry and from
    input device.  Input device can be accessed as event device and as
    joystick device.  Joystick device can be in two modes.  Meaning of the
    output values varies from case to case depending on the chip type and
    configuration (scale).  Only joystick interface in JS_CORR_BROKEN mode
    returned somehow similar output values in different configurations.
    Joystick device is in that state by default in case of lis3.
    
    Position sysfs entry, input event device and raw joystick device have been
    little bit broken since meaning of the output values has been varied
    between 12 and 8 bit devices.  Applications which relayed on those methods
    failed if the chip is different than the expected one.
    
    This patch converts output values to mean similar thing in different
    configurations.  Both 8 and 12 bit devices reports now same acceleration
    values.  If somebody implements full scale support to the driver, output
    values will still mean the same.  Scaling factor and input device range
    must be updated in that case.
    
    Joystick interface in JS_CORR_BROKEN mode is not touched by this patch.
    All other interfaces have different scale after this change.  For 12 bit
    device scaling factor is 0.977 which keeps scaled and unscaled values are
    quite close to each others.  For 8 bit device, scaled values are 18 times
    bigger than unscaled values.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <Eric.Piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  13. lis3: sysfs entry for setting chip measurement rate

    Samu Onkalo committed with torvalds Dec 15, 2009
    It is possible to read position information at the chip measurement rate
    via sysfs.  This patch adds possibility to configure chip measurement
    rate.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Signed-off-by: Éric Piel <Eric.Piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  14. lis3lv02d: remove calibaration functionality

    Samu Onkalo committed with torvalds Dec 15, 2009
    Chip is calibrated by the manufacturer.  There is no need to calibarate it
    at driver level.  If the chip is used as a joystick, calibaration can be
    done using joystick device calibration mechanism.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <Eric.Piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  15. lis3: selftest support

    Samu Onkalo committed with torvalds Dec 15, 2009
    Implement selftest feature as specified by chip manufacturer.  Control:
    read selftest sysfs entry
    
    Response: "OK x y z" or "FAIL x y z"
    
    where x, y, and z are difference between selftest mode and normal mode.
    Test is passed when values are within acceptance limit values.
    
    Acceptance limits are provided via platform data.  See chip spesifications
    for acceptance limits.  If limits are not properly set, OK / FAIL decision
    is meaningless.  However, userspace application can still make decision
    based on the numeric x, y, z values.
    
    Selftest is meant for HW diagnostic purposes.  It is not meant to be
    called during normal use of the chip.  It may cause false interrupt
    events.  Selftest mode delays polling of the normal results but it doesn't
    cause wrong values.  Chip must be in static state during selftest.  Any
    acceration during the test causes most probably failure.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <Eric.Piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  16. lis3lv02d: proper power on sequence

    Samu Onkalo committed with torvalds Dec 15, 2009
    Lis3 accelerometer sensors have quite long power on delay (up to 125
    ms). This patch adds necessary delay to power on sequence for currently
    supported lis3 chips.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Tested-by: Éric Piel <eric.piel@tremplin-utc.net>
    Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  17. lis3: fix show rate for 8 bits chips

    Éric Piel committed with torvalds Dec 15, 2009
    Originally the driver was only targeted to 12bits sensors.  When support
    for 8bits sensors was added, some slight difference in the registers were
    overlooked.  This should fix it, both for initialization, and for
    displaying the rate.
    
    Reported-by: Kalhan Trisal <kalhan.trisal@intel.com>
    Reported-by: Christoph Plattner <christoph.plattner@gmx.at>
    Tested-by: Christoph Plattner <christoph.plattner@gmx.at>
    Tested-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  18. lis3: update documentation and comments

    Éric Piel committed with torvalds Dec 15, 2009
    Most of the documentation and comments were written when the driver was
    only supporting one type of chip, only via ACPI/HP. Update the info to
    the much clearer understanding that we have now.
    
    Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  19. lis3lv02d: correct memory leak in module unload

    Samu Onkalo committed with torvalds Dec 15, 2009
    polled input device itself was not free'd.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Tested-by: Éric Piel <eric.piel@tremplin-utc.net>
    Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  20. lis3lv02d: send sync event

    Samu Onkalo committed with torvalds Dec 15, 2009
    Send input_sync after each measurement round. This helps userspace to
    detect which reported values belongs to the same measurement.
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Tested-by: Éric Piel <eric.piel@tremplin-utc.net>
    Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  21. hwmon: w83627ehf updates

    Daniel J Blueman committed with torvalds Dec 15, 2009
    Add control of fan minimum turn-on output levels, decoupling it from the
    fan turn-off output level.  Add control of rate of change of fan output
    level.  These in turn allow lower turn-off rotor speed and smoother
    transitions for better thermal and acoustic control authority.  Add
    support for constant fan speed and proportional-response operations modes.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc: David Hubbard <david.c.hubbard@gmail.com>
    Cc: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  22. lis3lv02d: axis remap and resource setup/release

    Samu Onkalo committed with torvalds Dec 15, 2009
    Add the possibility to remap axes via platform data.  Function pointers
    for resource setup and release purposes
    
    Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
    Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
    Cc: Pavel Machek <pavel@ucw.cz>
    Cc: Jean Delvare <khali@linux-fr.org>
    Cc:  "Trisal, Kalhan" <kalhan.trisal@intel.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  23. crc32: minor optimizations and cleanup

    joakim-tjernlund committed with torvalds Dec 15, 2009
    Move common crc body to new function crc32_body() cleaup and micro
    optimize crc32_body for speed and less size.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  24. mmc: let tmio-mmc use dev_name() with request_irq()

    Magnus Damm committed with torvalds Dec 15, 2009
    Improve the /proc/interrupts output so the irq number can be mapped to
    platform device on boards with multiple tmio_mmc instances.
    
    Signed-off-by: Magnus Damm <damm@opensource.se>
    Cc: <linux-mmc@vger.kernel.org>
    Cc: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  25. mmc: Blackfin SD Host Controller Driver

    Cliff Cai committed with torvalds Dec 15, 2009
    Add SD host driver for Blackfin BF54x and BF51x.
    
    [akpm@linux-foundation.org: fix layout, c99 warning]
    Signed-off-by: Cliff Cai <cliffcai.sh@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  26. mmc: atmel-mci: new MCI2 module support in atmel-mci driver

    Nicolas Ferre committed with torvalds Dec 15, 2009
    This new revision of the IP adds some improvements to the MCI already
    present in several Atmel SOC.
    
    Some new registers are added and a particular way of handling DMA
    interaction lead to a new sequence in function call which is backward
    compatible: On MCI2, we must set the DMAEN bit to enable the DMA
    handshaking interface.  This must happen before the data transfer command
    is sent.
    
    A new function is able to differentiate MCI2 code and is based on
    knowledge of processor id (cpu_is_xxx()).
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  27. atmel-mci: change use of dma slave interface

    Nicolas Ferre committed with torvalds Dec 15, 2009
    Allow the use of another DMA controller driver in atmel-mci sd/mmc driver.
     This adds a generic dma_slave pointer to the mci platform structure where
    we can store DMA controller information.  In atmel-mci we use information
    provided by this structure to initialize the driver (with new helper
    functions that are architecture dependant).
    
    This also adds at32/avr32 chip modifications to cope with this new access
    method.
    
    Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
    Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  28. mmc: add module parameter to set whether cards are assumed removable

    bwhacks committed with torvalds Dec 15, 2009
    Some people run general-purpose distribution kernels on netbooks with
    a card that is physically non-removable or logically non-removable
    (e.g. used for /home) and cannot be cleanly unmounted during suspend.
    Add a module parameter to set whether cards are assumed removable or
    non-removable, with the default set by CONFIG_MMC_UNSAFE_RESUME.
    
    In general, it is not possible to tell whether a card present in an MMC
    slot after resume is the same that was there before suspend.  So there are
    two possible behaviours, each of which will cause data loss in some cases:
    
    CONFIG_MMC_UNSAFE_RESUME=n (default): Cards are assumed to be removed
    during suspend.  Any filesystem on them must be unmounted before suspend;
    otherwise, buffered writes will be lost.
    
    CONFIG_MMC_UNSAFE_RESUME=y: Cards are assumed to remain present during
    suspend.  They must not be swapped during suspend; otherwise, buffered
    writes will be flushed to the wrong card.
    
    Currently the choice is made at compile time and this allows that to be
    overridden at module load time.
    
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    Cc: Wouter van Heyst <larstiq@larstiq.dyndns.org>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  29. s3cmci: convert missed s3c2410_gpio calls to gpiolib calls

    Ben Dooks committed with torvalds Dec 15, 2009
    Convert two missed s3c2410 specific gpio calls to gpiolib calls.
    
    Signed-off-by: Ben Dooks <ben@simtec.co.uk>
    Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  30. sdhci: add support for the SysKonnect CardBus2SDIO adapter

    npitre committed with torvalds Dec 15, 2009
    This is still in use especially to develop SDIO device drivers on laptop
    machines which are lacking SDIO slots.  This adapter supports SDIO cards
    only due to lack of 136-bit response capability.
    
    Signed-off-by: Nicolas Pitre <nico@marvell.com>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  31. mmci-omap: remove bogus check for host->iclk

    Ladislav Michl committed with torvalds Dec 15, 2009
    Remove check for host->iclk being NULL from error path since we already
    know it is non-null and use return value from clk_get.
    
    Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
    Acked-by: Tony Lindgren <tony@atomide.com>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  32. davinci: mmc: add cpufreq support

    Chaithrika U S committed with torvalds Dec 15, 2009
    Add cpufreq support to MMC driver. The clock divider value has to be
    modified according to the controller input frequency.
    
    Signed-off-by: Chaithrika U S <chaithrika@ti.com>
    Cc: Linus Walleij <linus.ml.walleij@gmail.com>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  33. mmc: davinci: modify data types of EDMA related variables

    Sudhakar Rajashekhara committed with torvalds Dec 15, 2009
    Currently DaVinci EDMA driver supports multiple EDMA channel controller
    instances.  edma_alloc_channel() api returns a 32 bit value which has the
    channel controller number in MSB and the EDMA channel number in LSB.  The
    variables which store the value returned by edma_alloc_channel() have to
    be 32 bit wide now.
    
    Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
    Acked-by: Vipin Bhandari <vipin.bhandari@ti.com>
    Cc: Purshotam Kumar <purushotam@ti.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  34. DaVinci: MMC: MMC/SD controller driver for DaVinci family

    Vipin Bhandari committed with torvalds Dec 15, 2009
    Add support for MMC/SD controller driver for all DaVinci family SoC.  This
    patch supports davinci family SoC's DM6446, DM355, DM365 and
    DA830/OMAPL137.
    
    The patch has been tested on DM355 EVM.
    
    The MMCSD controller specifications for DM355 can be found at
    http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruee2c
    
    Signed-off-by: Vipin Bhandari <vipin.bhandari@ti.com>
    Signed-off-by: Purshotam Kumar <purushotam@ti.com>
    Acked-by: David Brownell <dbrownell@users.sourceforge.net>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  35. drivers/mmc: Move dereference after NULL test

    JuliaLawall committed with torvalds Dec 15, 2009
    If the NULL test on mrq is needed, then the derefernce should be after the
    NULL test.
    
    A simplified version of the semantic match that detects this problem is as
    follows (http://coccinelle.lip6.fr/):
    
    // <smpl>
    @match exists@
    expression x, E;
    identifier fld;
    @@
    
    * x->fld
      ... when != \(x = E\|&x\)
    * x == NULL
    // </smpl>
    
    Signed-off-by: Julia Lawall <julia@diku.dk>
    Cc: <linux-mmc@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>