26 Oct, 2015

1 commit

  • Commit 68bab8662f49 ("mfd: twl6040: Optional clk32k clock handling")
    added clock handling for the 32k clock from palmas-clk. However, that
    patch did not consider a typical situation where twl6040 is built-in,
    and palmas-clk is a loadable module like we have in omap2plus_defconfig.

    If palmas-clk is not loaded before twl6040 probes, we will get a
    "clk32k is not handled" warning during booting. This means that any
    drivers relying on this clock will mysteriously fail, including
    omap5-uevm WLAN and audio.

    Note that for WLAN, we probably should also eventually get
    the clk32kgaudio for MMC3 directly as that's shared between
    audio and WLAN SDIO at least for omap5-uevm. It seems the
    WLAN chip cannot get it as otherwise MMC3 won't get properly
    probed.

    Fixes: 68bab8662f49 ("mfd: twl6040: Optional clk32k clock handling")
    Signed-off-by: Tony Lindgren
    Reviewed-by: Felipe Balbi
    Signed-off-by: Lee Jones

    Tony Lindgren
     

05 Sep, 2015

1 commit

  • Pull sound updates from Takashi Iwai:
    "There are little changes in core part, but lots of development are
    found in drivers, especially ASoC. The diffstat shows regmap-related
    changes for a slight API additions / changes, and that's all.

    Looking at the code size statistics, the most significant addition is
    for Intel Skylake. (Note that SKL support is still underway, the
    codec driver is missing.) Also STI controller driver is a major
    addition as well as a few new codec drivers.

    In HD-audio side, there are fewer changes than the past. The
    noticeable change is the support of ELD notification from i915
    graphics driver. Thus this pull request carries a few changes in
    drm/i915.

    Other than that, USB-audio got a rewrite of runtime PM code. It was
    initiated by lockdep warning, but resulted in a good cleanup in the
    end.

    Below are the highlights:

    Common:
    - Factoring out of AC'97 reset code from ASoC into the core helper
    - A few regmap API extensions (in case it's not pulled yet)

    ASoC:
    - New drivers for Cirrus CS4349, GTM601, InvenSense ICS43432, Realtek
    RT298 and ST STI controllers
    - Machine drivers for Rockchip systems with MAX98090 and RT5645 and
    RT5650
    - Initial driver support for Intel Skylake devices
    - Lots of rsnd cleanup and enhancements
    - A few DAPM fixes and cleanups
    - A large number of cleanups in various drivers (conversion and
    standardized to regmap, component) mostly by Lars-Peter and Axel

    HD-audio:
    - Extended HD-audio core for Intel Skylake controller support
    - Quirks for Dell headsets, Alienware 15
    - Clean up of pin-based quirk tables for Realtek codecs
    - ELD notifier implenetation for Intel HDMI/DP

    USB-audio:
    - Refactor runtime PM code to make lockdep happier"

    * tag 'sound-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (411 commits)
    drm/i915: Add locks around audio component bind/unbind
    drm/i915: Drop port_mst_index parameter from pin/eld callback
    ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup()
    ALSA: hda - Wake the codec up on pin/ELD notify events
    ALSA: hda - allow codecs to access the i915 pin/ELD callback
    drm/i915: Call audio pin/ELD notify function
    drm/i915: Add audio pin sense / ELD callback
    ASoC: zx296702-i2s: Fix resource leak when unload module
    ASoC: sti_uniperif: Ensure component is unregistered when unload module
    ASoC: au1x: psc-i2s: Convert to use devm_ioremap_resource
    ASoC: sh: dma-sh7760: Convert to devm_snd_soc_register_platform
    ASoC: spear_pcm: Use devm_snd_dmaengine_pcm_register to fix resource leak
    ALSA: fireworks/bebob/dice/oxfw: fix substreams counting at vmalloc failure
    ASoC: Clean up docbook warnings
    ASoC: txx9: Convert to devm_snd_soc_register_platform
    ASoC: pxa: Convert to devm_snd_soc_register_platform
    ASoC: nuc900: Convert to devm_snd_soc_register_platform
    ASoC: blackfin: Convert to devm_snd_soc_register_platform
    ASoC: au1x: Convert to devm_snd_soc_register_platform
    ASoC: qcom: Constify asoc_qcom_lpass_cpu_dai_ops
    ...

    Linus Torvalds
     

11 Aug, 2015

1 commit


17 Jul, 2015

1 commit

  • Separate the functionality using sequences of register writes from the
    functions that take register defaults. This change renames the arguments
    in order to support the extension of reg_sequence to take an optional
    delay to be applied after any given register in a sequence is written.
    This avoids adding an int to all register defaults, which could
    substantially increase memory usage for regmaps with large default tables.

    This also updates all the clients of multi_reg_write/register_patch.

    Signed-off-by: Nariman Poushin
    Signed-off-by: Mark Brown

    Nariman Poushin
     

30 Mar, 2015

1 commit


23 Jan, 2015

1 commit


26 Sep, 2014

1 commit

  • Convert a zero return value on error to a negative one, as returned
    elsewhere in the function.

    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    (
    if@p1 (\(ret < 0\|ret != 0\))
    { ... return ret; }
    |
    ret@p1 = 0
    )
    ... when != ret = e1
    when != &ret
    *if(...)
    {
    ... when != ret = e2
    when forall
    return ret;
    }

    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Lee Jones

    Julia Lawall
     

22 Jul, 2014

1 commit

  • This is part of an effort to clean-up the MFD subsystem.

    ERROR: space required after that ',' (ctx:VxO)
    + 0, &twl6040_irq_chip,&twl6040->irq_data);
    ^

    ERROR: space required before that '&' (ctx:OxV)
    + 0, &twl6040_irq_chip,&twl6040->irq_data);
    ^

    total: 2 errors, 0 warnings, 816 lines checked

    Signed-off-by: Lee Jones

    Lee Jones
     

03 Jun, 2014

5 commits


19 Mar, 2014

2 commits


21 Jan, 2014

1 commit


20 Dec, 2013

1 commit

  • Add reg_defaults to regmap and at the same time implement proper power
    state handling with using regcache_cache_only(), regcache_sync() and
    regcache_mark_dirty().

    This will make sure that we do not need to do restore operations in child
    drivers anymore.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Mark Brown
    Signed-off-by: Lee Jones

    Peter Ujfalusi
     

25 Oct, 2013

1 commit


24 Oct, 2013

1 commit


23 Oct, 2013

1 commit


02 Sep, 2013

2 commits


31 Jul, 2013

3 commits


08 Apr, 2013

1 commit


04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Samuel Ortiz
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

21 Nov, 2012

1 commit


14 Nov, 2012

1 commit