13 May, 2015

5 commits


04 May, 2015

1 commit

  • set_dai_fmt_both() callback is called from snd_soc_runtime_set_dai_fmt()
    which is called from snd_soc_register_card(), but at this time codec
    is not powered on yet. Replace direct i2c write with regcache write.

    Fixes: 5f0acedddf533c (ASoC: rx1950_uda1380: Use static DAI format setup)
    Fixes: 5cc10b9b77c234 (ASoC: h1940_uda1380: Use static DAI format setup)
    Signed-off-by: Vasily Khoruzhick
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Vasily Khoruzhick
     

02 May, 2015

1 commit


01 May, 2015

1 commit

  • pm_runtime_enabled() will only tell if the pm runtime has been enabled for
    the device, which is done at probe time but will not tell the actual power
    state of the device.
    pm_runtime_active() provides this information.
    This patch fixes a kernel crash when doing suspend when McASP is not
    active.

    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

29 Apr, 2015

5 commits


28 Apr, 2015

1 commit


25 Apr, 2015

1 commit

  • Pull slave-dmaengine updates from Vinod Koul:

    - new drivers for:
    - Ingenic JZ4780 controller
    - APM X-Gene controller
    - Freescale RaidEngine device
    - Renesas USB Controller

    - remove device_alloc_chan_resources dummy handlers

    - sh driver cleanups for peri peri and related emmc and asoc patches
    as well

    - fixes and enhancements spread over the drivers

    * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (59 commits)
    dmaengine: dw: don't prompt for DW_DMAC_CORE
    dmaengine: shdmac: avoid unused variable warnings
    dmaengine: fix platform_no_drv_owner.cocci warnings
    dmaengine: pch_dma: fix memory leak on failure path in pch_dma_probe()
    dmaengine: at_xdmac: unlock spin lock before return
    dmaengine: xgene: devm_ioremap() returns NULL on error
    dmaengine: xgene: buffer overflow in xgene_dma_init_channels()
    dmaengine: usb-dmac: Fix dereferencing freed memory 'desc'
    dmaengine: sa11x0: report slave capabilities to upper layers
    dmaengine: vdma: Fix compilation warnings
    dmaengine: fsl_raid: statify fsl_re_chan_probe
    dmaengine: Driver support for FSL RaidEngine device.
    dmaengine: xgene_dma_init_ring_mngr() can be static
    Documentation: dma: Add documentation for the APM X-Gene SoC DMA device DTS binding
    arm64: dts: Add APM X-Gene SoC DMA device and DMA clock DTS nodes
    dmaengine: Add support for APM X-Gene SoC DMA engine driver
    dmaengine: usb-dmac: Add Renesas USB DMA Controller (USB-DMAC) driver
    dmaengine: renesas,usb-dmac: Add device tree bindings documentation
    dmaengine: edma: fixed wrongly initialized data parameter to the edma callback
    dmaengine: ste_dma40: fix implicit conversion
    ...

    Linus Torvalds
     

24 Apr, 2015

2 commits


23 Apr, 2015

1 commit


22 Apr, 2015

1 commit

  • Pull char/misc driver updates from Greg KH:
    "Here's the big char/misc driver patchset for 4.1-rc1.

    Lots of different driver subsystem updates here, nothing major, full
    details are in the shortlog.

    All of this has been in linux-next for a while"

    * tag 'char-misc-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (133 commits)
    mei: trace: remove unused TRACE_SYSTEM_STRING
    DTS: ARM: OMAP3-N900: Add lis3lv02d support
    Documentation: DT: lis302: update wakeup binding
    lis3lv02d: DT: add wakeup unit 2 and wakeup threshold
    lis3lv02d: DT: use s32 to support negative values
    Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case
    Drivers: hv: hv_balloon: correctly handle val.freeram directory
    coresight-tmc: Adding a status interface to sysfs
    coresight: remove the unnecessary configuration coresight-default-sink
    ...

    Linus Torvalds
     

17 Apr, 2015

5 commits


16 Apr, 2015

4 commits

  • Pull sound updates from Takashi Iwai:
    "There have been major modernization with the standard bus: in ALSA
    sequencer core and HD-audio. Also, HD-audio receives the regmap
    support replacing the in-house cache register cache code. These
    changes shouldn't impact the existing behavior, but rather
    refactoring.

    In addition, HD-audio got the code split to a core library part and
    the "legacy" driver parts. This is a preliminary work for adapting
    the upcoming ASoC HD-audio driver, and the whole transition is still
    work in progress, likely finished in 4.1.

    Along with them, there are many updates in ASoC area as usual, too:
    lots of cleanups, Intel code shuffling, etc.

    Here are some highlights:

    ALSA core:
    - PCM: the audio timestamp / wallclock enhancement
    - PCM: fixes in DPCM management
    - Fixes / cleanups of user-space control element management
    - Sequencer: modernization using the standard bus

    HD-audio:
    - Modernization using the standard bus
    - Regmap support
    - Use standard runtime PM for codec power saving
    - Widget-path based power-saving for IDT, VIA and Realtek codecs
    - Reorganized sysfs entries for each codec object
    - More Dell headset support

    ASoC:
    - Move of jack registration to the card level
    - Lots of ASoC cleanups, mainly moving things from the CODEC level to
    the card level
    - Support for DAPM routes specified by both the machine driver and DT
    - Continuing improvements to rcar
    - pcm512x enhacements
    - Intel platforms updates
    - rt5670 updates / fixes
    - New platforms / devices: some non-DSP Qualcomm platforms, Google's
    Storm platform, Maxmim MAX98925 CODECs and the Ingenic JZ4780 SoC

    Misc:
    - ice1724: Improved ESI W192M support
    - emu10k1: Emu 1010 fixes/enhancement"

    * tag 'sound-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (411 commits)
    ALSA: hda - set GET bit when adding a vendor verb to the codec regmap
    ALSA: hda/realtek - Enable the ALC292 dock fixup on the Thinkpad T450
    ALSA: hda - Fix another race in runtime PM refcounting
    ALSA: hda - Expose codec type sysfs
    ALSA: ctl: fix to handle several elements added by one operation for userspace element
    ASoC: Intel: fix array_size.cocci warnings
    ASoC: n810: Automatically disconnect non-connected pins
    ASoC: n810: Consistently pass the card DAPM context to n810_ext_control()
    ASoC: davinci-evm: Use card DAPM context to access widgets
    ASoC: mop500_ab8500: Use card DAPM context to access widgets
    ASoC: wm1133-ev1: Use card DAPM context to access widgets
    ASoC: atmel: Improve machine driver compile test coverage
    ASoC: atmel: Add dependency to SND_SOC_I2C_AND_SPI where necessary
    ALSA: control: Fix a typo of SNDRV_CTL_ELEM_ACCESS_TLV_* with SNDRV_CTL_TLV_OP_*
    ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate
    ASoC: rnsd: fix build regression without CONFIG_OF
    ALSA: emu10k1: add toggles for E-mu 1010 optical ports
    ALSA: ctl: fill identical information to return value when adding userspace elements
    ALSA: ctl: fix a bug to return no identical information in info operation for userspace controls
    ALSA: ctl: confirm to return all identical information in 'activate' event
    ...

    Linus Torvalds
     
  • kbuild robot reports following warning:
    "sound/soc/intel/haswell/sst-haswell-ipc.c:2204:1-6:
    WARNING: invalid free of devm_ allocated data"

    As julia explains to me, the memory allocated with devm_kalloc
    is freed automatically on failure of a probe function. So this
    kfree should be removed otherwise the double free will be got in
    error handler path.

    Signed-off-by: Jin Yao
    Signed-off-by: Mark Brown

    Jin Yao
     
  • rsnd_dmaen_quit() is assuming dmaen->chan is NULL if it failed
    to get DMAEngine channel. but, current dmaen->chan might have
    error value when error case (this driver is checking it by IS_ERR_OR_NULL())
    This patch makes sure dmaen->chan is NULL when error case.
    Otherwise, it will contact to unknown address in rsnd_dmaen_quit()

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Fix a compile warning
    sound/soc/qcom/lpass-cpu.c: In function ‘lpass_cpu_daiops_trigger’:
    sound/soc/qcom/lpass-cpu.c:224:2: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    return ret;
    ^
    Although switch () lists the most of existing cases, it's still better
    to cover the rest as an error properly.

    Signed-off-by: Takashi Iwai
    Acked-by: Kenneth Westfield
    Signed-off-by: Mark Brown

    Takashi Iwai
     

15 Apr, 2015

2 commits

  • Pull MFD updates from Lee Jones:
    "Changes to existing drivers:

    - Rename child driver [axp288_battery => axp288_fuel_gauge]; axp20x
    - Rename child driver [max77693-flash => max77693-led]; max77693
    - Error handling fixes; intel_soc_pmic
    - GPIO tweaking; intel_soc_pmic
    - Remove non-DT code; vexpress-sysreg, tc3589x
    - Remove unused/legacy code; ti_am335x_tscadc, rts5249, rtsx_gops, rtsx_pcr,
    rtc-s5m, sec-core, max77693, menelaus,
    wm5102-tables
    - Trivial fixups; rtsx_pci, da9150-core, sec-core, max7769, max77693,
    mc13xxx-core, dln2, hi6421-pmic-core, rk808, twl4030-power,
    lpc_ich, menelaus, twl6040
    - Update register/address values; rts5227, rts5249
    - DT and/or binding document fixups; arizona, da9150, mt6397, axp20x,
    qcom-rpm, qcom-spmi-pmic
    - Couple of trivial core Kconfig fixups
    - Remove use of seq_printf return value; ab8500-debugfs
    - Remove __exit markups; menelaus, tps65010
    - Fix platform-device name collisions; mfd-core

    New drivers/supported devices:

    - Add support for wm8280/wm8281 into arizona
    - Add support for COMe-cBL6 into kempld-core
    - Add support for rts524a and rts525a into rts5249
    - Add support for ipq8064 into qcom_rpm
    - Add support for extcon into axp20x
    - New MediaTek MT6397 PMIC driver
    - New Maxim MAX77843 PMIC dirver
    - New Intel Quark X1000 I2C-GPIO driver
    - New Skyworks SKY81452 driver"

    * tag 'mfd-for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (76 commits)
    mfd: sec: Fix RTC alarm interrupt number on S2MPS11
    mfd: wm5102: Remove registers for output 3R from readable list
    mfd: tps65010: Remove incorrect __exit markups
    mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes
    mfd: axp20x: Add support for extcon cell
    mfd: lpc_ich: Sort IDs
    mfd: twl6040: Remove wrong and unneeded "platform:twl6040" modalias
    mfd: qcom-spmi-pmic: Add specific compatible strings for Qualcomm's SPMI PMIC's
    mfd: axp20x: Fix duplicate const for model names
    mfd: menelaus: Use macro for magic number
    mfd: menelaus: Drop support for SW controller VCORE
    mfd: menelaus: Delete omap_has_menelaus
    mfd: arizona: Correct type of gpio_defaults
    mfd: lpc_ich: Sort IDs
    mfd: Fix a typo in Kconfig
    mfd: qcom_rpm: Add support for IPQ8064
    mfd: devicetree: qcom_rpm: Document IPQ8064 resources
    mfd: core: Fix platform-device name collisions
    mfd: intel_quark_i2c_gpio: Don't crash if !DMI
    dt-bindings: Add vendor-prefix for X-Powers
    ...

    Linus Torvalds
     
  • Pull trivial tree from Jiri Kosina:
    "Usual trivial tree updates. Nothing outstanding -- mostly printk()
    and comment fixes and unused identifier removals"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
    goldfish: goldfish_tty_probe() is not using 'i' any more
    powerpc: Fix comment in smu.h
    qla2xxx: Fix printks in ql_log message
    lib: correct link to the original source for div64_u64
    si2168, tda10071, m88ds3103: Fix firmware wording
    usb: storage: Fix printk in isd200_log_config()
    qla2xxx: Fix printk in qla25xx_setup_mode
    init/main: fix reset_device comment
    ipwireless: missing assignment
    goldfish: remove unreachable line of code
    coredump: Fix do_coredump() comment
    stacktrace.h: remove duplicate declaration task_struct
    smpboot.h: Remove unused function prototype
    treewide: Fix typo in printk messages
    treewide: Fix typo in printk messages
    mod_devicetable: fix comment for match_flags

    Linus Torvalds
     

13 Apr, 2015

10 commits