13 Jan, 2012

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (526 commits)
    ASoC: twl6040 - Add method to query optimum PDM_DL1 gain
    ALSA: hda - Fix the lost power-setup of seconary pins after PM resume
    ALSA: usb-audio: add Yamaha MOX6/MOX8 support
    ALSA: virtuoso: add S/PDIF input support for all Xonars
    ALSA: ice1724 - Support for ooAoo SQ210a
    ALSA: ice1724 - Allow card info based on model only
    ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations
    ALSA: hdspm - Provide unique driver id based on card serial
    ASoC: Dynamically allocate the rtd device for a non-empty release()
    ASoC: Fix recursive dependency due to select ATMEL_SSC in SND_ATMEL_SOC_SSC
    ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs
    ALSA: hda - Return the error from get_wcaps_type() for invalid NIDs
    ALSA: hda - Use auto-parser for HP laptops with cx20459 codec
    ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
    ALSA: hdsp - Fix potential Oops in snd_hdsp_info_pref_sync_ref()
    ALSA: hda/cirrus - support for iMac12,2 model
    ASoC: cx20442: add bias control over a platform provided regulator
    ALSA: usb-audio - Avoid flood of frame-active debug messages
    ALSA: snd-usb-us122l: Delete calls to preempt_disable
    mfd: Put WM8994 into cache only mode when suspending
    ...

    Fix up trivial conflicts in:
    - arch/arm/mach-s3c64xx/mach-crag6410.c:
    renamed speyside_wm8962 to tobermory, added littlemill right
    next to it
    - drivers/base/regmap/{regcache.c,regmap.c}:
    duplicate diff that had already come in with other changes in
    the regmap tree

    Linus Torvalds
     

12 Jan, 2012

1 commit

  • * git://git.infradead.org/battery-2.6: (68 commits)
    power_supply: Mark da9052 driver as broken
    power_supply: Drop usage of nowarn variant of sysfs_create_link()
    s3c_adc_battery: Average over more than one adc sample
    power_supply: Add DA9052 battery driver
    isp1704_charger: Fix missing check
    jz4740-battery: Fix signedness bug
    power_supply: Assume mains power by default
    sbs-battery: Fix devicetree match table
    ARM: rx51: Add bq27200 i2c board info
    sbs-battery: Change power supply name
    devicetree-bindings: Propagate bq20z75->sbs rename to dt bindings
    devicetree-bindings: Add vendor entry for Smart Battery Systems
    sbs-battery: Rename internals to new name
    bq20z75: Rename to sbs-battery
    wm97xx_battery: Use DEFINE_MUTEX() for work_lock
    max8997_charger: Remove duplicate module.h
    lp8727_charger: Some minor fixes for the header
    lp8727_charger: Add header file
    power_supply: Convert drivers/power/* to use module_platform_driver()
    power_supply: Add "unknown" in power supply type
    ...

    Linus Torvalds
     

10 Jan, 2012

3 commits

  • Driver specific changes

    Again, a lot of platforms have changes in here: pxa, samsung, omap,
    at91, imx, ...

    * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
    ARM: sa1100: clean up of the clock support
    ARM: pxa: add dummy clock for sa1100-rtc
    RTC: sa1100: support sa1100, pxa and mmp soc families
    RTC: sa1100: remove redundant code of setting alarm
    RTC: sa1100: Clean out ost register
    Input: zylonite-wm97xx - replace IRQ_GPIO() with gpio_to_irq()
    pcmcia: pxa: replace IRQ_GPIO() with gpio_to_irq()
    ARM: EXYNOS: Modified files for SPI consolidation work
    ARM: S5P64X0: Enable SDHCI support
    ARM: S5P64X0: Add lookup of sdhci-s3c clocks using generic names
    ARM: S5P64X0: Add HSMMC setup for host Controller
    ARM: EXYNOS: Add USB OHCI support to ORIGEN board
    USB: Add Samsung Exynos OHCI diver
    ARM: EXYNOS: Add USB OHCI support to SMDKV310 board
    ARM: EXYNOS: Add USB OHCI device
    net: macb: fix build break with !CONFIG_OF
    i2c: tegra: Support DVC controller in device tree
    i2c: tegra: Add __devinit/exit to probe/remove
    net/at91_ether: use gpio_is_valid for phy IRQ line
    ARM: at91/net: add macb ethernet controller in 9g45/9g20 DT
    ...

    Linus Torvalds
     
  • New feature development

    This adds support for new features, and contains stuff from most
    platforms. A number of these patches could have fit into other
    branches, too, but were small enough not to cause too much
    confusion here.

    * tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
    mfd/db8500-prcmu: remove support for early silicon revisions
    ARM: ux500: fix the smp_twd clock calculation
    ARM: ux500: remove support for early silicon revisions
    ARM: ux500: update register files
    ARM: ux500: register DB5500 PMU dynamically
    ARM: ux500: update ASIC detection for U5500
    ARM: ux500: support DB8520
    ARM: picoxcell: implement watchdog restart
    ARM: OMAP3+: hwmod data: Add the default clockactivity for I2C
    ARM: OMAP3: hwmod data: disable multiblock reads on MMC1/2 on OMAP34xx/35xx <= ES2.1
    ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP4
    ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP3
    ARM: OMAP: hwmod data: Add support for AM35xx UART4/ttyO3
    ARM: Orion: Remove address map info from all platform data structures
    ARM: Orion: Get address map from plat-orion instead of via platform_data
    ARM: Orion: mbus_dram_info consolidation
    ARM: Orion: Consolidate the address map setup
    ARM: Kirkwood: Add configuration for MPP12 as GPIO
    ARM: Kirkwood: Recognize A1 revision of 6282 chip
    ARM: ux500: update the MOP500 GPIO assignments
    ...

    Linus Torvalds
     
  • Conflicts:
    arch/arm/mach-mxs/include/mach/common.h

    Pull in previous samsung conflict merges and do a trivial
    merge of an mxs double-add conflict.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

09 Jan, 2012

2 commits

  • This is required by the ASoC driver for very low power modes where the
    device is fully idle but we want to update controls.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: (36 commits)
    mfd: Clearing events requires event registers to be writable for da9052-core
    mfd: Fix annotations in da9052-core
    gpiolib: Mark da9052 driver broken
    mfd: Declare da9052_regmap_config for the bus drivers
    MFD: DA9052/53 MFD core module add SPI support v2
    MFD: DA9052/53 MFD core module
    regmap: Add irq_base accessor to regmap_irq
    regmap: Allow drivers to reinitialise the register cache at runtime
    regmap: Add trace event for successful cache reads
    regmap: Allow regmap_update_bits() users to detect changes
    regmap: Report if we actually handled an interrupt in regmap-irq
    regmap: Fix rbtreee build when not using debugfs
    regmap: Provide debugfs dump of the rbtree cache data
    regmap: Do debugfs init before cache init
    regmap: Suppress noop writes in regmap_update_bits()
    regmap: Remove indexed cache type
    regmap: Drop check whether a register is readable in regcache_read
    regmap: Properly round cache_word_size
    regmap: Add support for 10/14 register formating
    regmap: Try cached read before checking if a hardware read is possible
    ...

    Linus Torvalds
     

04 Jan, 2012

3 commits


26 Dec, 2011

2 commits

  • Device initialisation should be marked __devinit and __devinitdata.

    Signed-off-by: Mark Brown

    Mark Brown
     
  • * pm-sleep: (51 commits)
    PM: Drop generic_subsys_pm_ops
    PM / Sleep: Remove forward-only callbacks from AMBA bus type
    PM / Sleep: Remove forward-only callbacks from platform bus type
    PM: Run the driver callback directly if the subsystem one is not there
    PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers
    PM / Sleep: Merge internal functions in generic_ops.c
    PM / Sleep: Simplify generic system suspend callbacks
    PM / Hibernate: Remove deprecated hibernation snapshot ioctls
    PM / Sleep: Fix freezer failures due to racy usermodehelper_is_disabled()
    PM / Sleep: Recommend [un]lock_system_sleep() over using pm_mutex directly
    PM / Sleep: Replace mutex_[un]lock(&pm_mutex) with [un]lock_system_sleep()
    PM / Sleep: Make [un]lock_system_sleep() generic
    PM / Sleep: Use the freezer_count() functions in [un]lock_system_sleep() APIs
    PM / Freezer: Remove the "userspace only" constraint from freezer[_do_not]_count()
    PM / Hibernate: Replace unintuitive 'if' condition in kernel/power/user.c with 'else'
    Freezer / sunrpc / NFS: don't allow TASK_KILLABLE sleeps to block the freezer
    PM / Sleep: Unify diagnostic messages from device suspend/resume
    ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
    PM / Hibernate: Remove deprecated hibernation test modes
    PM / Hibernate: Thaw processes in SNAPSHOT_CREATE_IMAGE ioctl test path
    ...

    Conflicts:
    kernel/kmod.c

    Rafael J. Wysocki
     

21 Dec, 2011

12 commits

  • Include linux/io.h to fix below build error:

    CC drivers/mfd/jz4740-adc.o
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_irq_demux':
    drivers/mfd/jz4740-adc.c:73: error: implicit declaration of function 'readb'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_enabled':
    drivers/mfd/jz4740-adc.c:110: error: implicit declaration of function 'writeb'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_set_config':
    drivers/mfd/jz4740-adc.c:146: error: implicit declaration of function 'readl'
    drivers/mfd/jz4740-adc.c:151: error: implicit declaration of function 'writel'
    drivers/mfd/jz4740-adc.c: In function 'jz4740_adc_probe':
    drivers/mfd/jz4740-adc.c:249: error: implicit declaration of function 'ioremap_nocache'
    drivers/mfd/jz4740-adc.c:249: warning: assignment makes pointer from integer without a cast
    drivers/mfd/jz4740-adc.c:289: warning: passing argument 3 of 'mfd_add_devices' discards qualifiers from pointer target type
    include/linux/mfd/core.h:93: note: expected 'struct mfd_cell *' but argument is of type 'const struct mfd_cell *'
    drivers/mfd/jz4740-adc.c:299: error: implicit declaration of function 'iounmap'
    make[2]: *** [drivers/mfd/jz4740-adc.o] Error 1
    make[1]: *** [drivers/mfd] Error 2
    make: *** [drivers] Error 2

    Signed-off-by: Axel Lin
    Acked-by: Lars-Peter Clausen
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • irq_set_chained_handler sets 'desc->handle_irq'.
    However this irq is called by handle_nested_irq from handle_twl4030_pih,
    and that uses action->thread_fn.

    So the handled set with irq_set_chained_handler is never called.

    So change to use request_threaded_irq instead - that sets the correct field.

    Tested on GTA04 Phoenux.

    Signed-off-by: NeilBrown
    Tested-by: Felipe Contreras
    Signed-off-by: Samuel Ortiz

    NeilBrown
     
  • As the interrupt source is only cleared by the threaded interrupt
    service routine, we need to make the base interrupt IRQF_ONESHOT.
    Without this, the first interrupt from the TWL4030 cause the CPU to
    enter an infinite loop trying to handle to interrupt but never
    clearing it.

    Signed-off-by: NeilBrown
    Tested-by: Felipe Contreras
    Signed-off-by: Samuel Ortiz

    NeilBrown
     
  • The function is not actually cleaing the bitmask.

    Signed-off-by: Marcus Folkesson
    Signed-off-by: Samuel Ortiz

    Marcus Folkesson
     
  • Fix below build warning if CONFIG_DEBUG_FS is disabled.

    CC drivers/mfd/ab8500-core.o
    drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not used

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • Check inuse variable before trying to access twl_map to prevent
    dereferencing of uninitialized variable.

    Signed-off-by: Ilya Yanok
    Cc: stable@kernel.org
    Signed-off-by: Samuel Ortiz

    Ilya Yanok
     
  • Include linux/module.h to fix below build error:

    CC drivers/mfd/ab5500-debugfs.o
    drivers/mfd/ab5500-debugfs.c:571: error: 'THIS_MODULE' undeclared here (not in a function)
    make[2]: *** [drivers/mfd/ab5500-debugfs.o] Error 1

    Signed-off-by: Axel Lin
    Acked-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • This didn't go in as part of the original MFD patch for WM1811 due to
    cross tree issues.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • It does not make sense to write new value only when all the bit_mask
    bits are zero.
    We need to write new value if the bit mask fields of new value is
    not equal to old value.

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • It does not make sense to write new value only when all the bit_mask
    bits are zero.
    We need to write new value if the bit mask fields of new value is
    not equal to old value.

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • Current code checks if all the bit_mask bits are all zero is wrong.
    We need to write new value if the bit mask fields of new value is
    not equal to old value.

    Signed-off-by: Axel Lin
    Acked-by: Michael Hennerich
    Signed-off-by: Samuel Ortiz

    Axel Lin
     
  • Signed-off-by: Axel Lin
    Acked-by: Eric Miao
    Signed-off-by: Samuel Ortiz

    Axel Lin
     

16 Dec, 2011

2 commits

  • The usbhs core driver does not enable/disable the interface and
    functional clocks directly, These clocks are handled by runtime pm,
    hence instead of the clock enable/disable, the runtime pm APIS are
    used. however,the optional clocks and port clocks are handled by
    the usbhs core.

    Dependency:
    This patch is dependent on this series:
    [PATCH 0/5 v13 or latest version] omap: usb: host: Runtime PM preparation
    for EHCI and OHCI drivers.

    Validation performed:
    The global suspend/resume of EHCI and OHCI is validated on
    OMAP3430 sdp board with this patch combined with the series:
    [PATCH 0/5 v13 or latest version] omap: usb: host: Runtime PM preparation
    for EHCI and OHCI drivers.

    Signed-off-by: Keshava Munegowda
    Reviewed-by: Kevin Hilman
    Reviewed-by: Partha Basak
    Acked-by: Felipe Balbi
    Acked-by: Samuel Ortiz
    Signed-off-by: Paul Walmsley

    Keshava Munegowda
     
  • device name usbhs clocks are changed from
    usbhs-omap.0 to usbhs_omap; this is because
    in the hwmod registration the device name is set
    as usbhs_omap; The redudant clock nodes are removed.

    Signed-off-by: Keshava Munegowda
    Reviewed-by: Partha Basak
    Signed-off-by: Paul Walmsley

    Keshava Munegowda
     

14 Dec, 2011

3 commits


13 Dec, 2011

11 commits